Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7e2221c

Browse files
committedMar 8, 2018
Add AArch64 build support
Enhance package-avrdude.bash to know about AArch64. libelf's config.guess is too old to know about AArch64. Add a patch to replace it with the version from libusb.
1 parent 7888e86 commit 7e2221c

File tree

3 files changed

+1841
-0
lines changed

3 files changed

+1841
-0
lines changed
 

‎libelf-0.8.13-patches/01-config.guess.patch

Lines changed: 1838 additions & 0 deletions
Large diffs are not rendered by default.

‎libelf-0.8.13.build.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fi
2828
tar xfv libelf-0.8.13.tar.gz
2929

3030
cd libelf-0.8.13
31+
for p in ../libelf-0.8.13-patches/*.patch; do echo Applying $p; patch -p0 < $p; done
3132
CONFARGS="--prefix=$PREFIX --disable-shared"
3233
if [[ $CROSS_COMPILE != "" ]] ; then
3334
CONFARGS="$CONFARGS --host=$CROSS_COMPILE_HOST"

‎package-avrdude.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ elif [[ $OS == "GNU/Linux" ]] ; then
3737
OUTPUT_TAG=i686-pc-linux-gnu
3838
elif [[ $MACHINE == "armv7l" ]] ; then
3939
OUTPUT_TAG=armhf-pc-linux-gnu
40+
elif [[ $MACHINE == "aarch64" ]] ; then
41+
OUTPUT_TAG=aarch64-pc-linux-gnu
4042
else
4143
echo Linux Machine not supported: $MACHINE
4244
exit 1

0 commit comments

Comments
 (0)
Please sign in to comment.