forked from avrdudes/avrdude
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'avrdudes:main' into arduino_packing_release_test
- Loading branch information
Showing
96 changed files
with
1,405 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Helps update the version number automatically if using GNU make. | ||
include Makefile | ||
# @configure_input@ | ||
|
||
AUTORECONF ?= autoreconf | ||
AUTORECONF_OPTS ?= -vis | ||
include Makefile | ||
|
||
script_version := $(shell $(top_srcdir)/build-helpers/package-version $(top_srcdir) version-stamp) | ||
ifneq ($(PACKAGE_VERSION),$(script_version)) | ||
$(info autoconf and script versions do not match: $(PACKAGE_VERSION) vs $(script_version)) | ||
$(info Removing autom4te.cache and related files and re-running autoreconf) | ||
dummy1 := $(shell rm -rf $(top_srcdir)/autom4te.cache) | ||
dummy2 := $(shell $(AUTORECONF) $(AUTORECONF_OPTS) $(top_srcdir)) | ||
need_to_rerun := $(shell $(top_srcdir)/build-helpers/versioninfo.sh "$(top_srcdir)" "@VERSIONINFO_STAMPFILE@" | { @VERSIONINFO_READ@; \ | ||
if @VERSIONINFO_IS_UNCHANGED@ \ | ||
echo "no"; \ | ||
fi; } ) | ||
ifneq (no,$(need_to_rerun)) | ||
$(info Recorded and current version information do not match.) | ||
$(info Re-running autoreconf via bootstrap.) | ||
dummy1 := $(shell $(top_srcdir)/bootstrap) | ||
endif | ||
|
||
# vim: syntax=make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Ensure git creates empty directory for autotools to place files into | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Ensure creation of empty directory for autotools to place files into | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#! /bin/sh | ||
|
||
set -ex | ||
|
||
cd "$(dirname "$0")" | ||
top_srcdir="$(pwd)" | ||
|
||
ostype="$(uname | tr A-Z a-z)" | ||
|
||
if test "x$MAKE" = x; then | ||
if gmake --version > /dev/null 2>&1; then | ||
MAKE=gmake | ||
fi | ||
fi | ||
make="${make-"${MAKE-make} -j$(nproc)"}" | ||
|
||
rm -rf autom4te.cache/ | ||
|
||
prefix="$top_srcdir/build_autotools-prefix" | ||
rm -rf "$prefix" | ||
|
||
top_builddir="$top_srcdir/build_autotools" | ||
|
||
# Remove remainders of failed distcheck attempts | ||
for dir in "$top_builddir" | ||
do | ||
if test -d "$dir"; then | ||
chmod -R +w "$dir" | ||
fi | ||
done | ||
rm -rf "$top_builddir" | ||
|
||
./bootstrap | ||
|
||
mkdir "$top_builddir" | ||
cd "$top_builddir" | ||
|
||
configure_opts="" | ||
configure_opts="$configure_opts --disable-silent-rules" | ||
configure_opts="$configure_opts --enable-parport" | ||
case "$ostype" in | ||
*linux) | ||
configure_opts="$configure_opts --enable-linuxgpio --enable-linuxspi" | ||
configure_opts="$configure_opts --enable-doc" | ||
;; | ||
esac | ||
|
||
$top_srcdir/configure --prefix="$prefix" ${configure_opts} | ||
|
||
$make all | ||
$make check | ||
$make install | ||
$make installcheck | ||
|
||
printf "\n\n" | $top_srcdir/../tools/test-avrdude -e $prefix/bin/avrdude -d0 -p"-cdryrun -pm2560" -p"-cdryrun -pavr64du28" | ||
|
||
$make distcheck |
Oops, something went wrong.