Skip to content

Commit

Permalink
IA32 ARM64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Dec 11, 2020
1 parent 2936666 commit ebaa4d9
Show file tree
Hide file tree
Showing 478 changed files with 10,298 additions and 745 deletions.
File renamed without changes.
1,166 changes: 1,166 additions & 0 deletions BUSYBOX/aarch64_hexdump.config

Large diffs are not rendered by default.

1,166 changes: 1,166 additions & 0 deletions BUSYBOX/aarch64_xzcat.config

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions BUSYBOX/build.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
======== Build busybox 1.32 for aarch64 ========

ARCH=arm64 CROSS_COMPILE=aarch64-linux- make defconfig
ARCH=arm64 CROSS_COMPILE=aarch64-linux- make menuconfig
----> enable static build
----> enable ar
----> enable inotifyd


ARCH=arm64 CROSS_COMPILE=aarch64-linux- make




ARCH=arm64 CROSS_COMPILE=aarch64-linux- make allnoconfig


======== use mini-native-x86_64 uclibc to build ash/hexdump/busybox for x86_64 ==========


11 changes: 7 additions & 4 deletions BUSYBOX/chmod/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@

DSTDIR=../../IMG/cpio/ventoy/busybox

rm -f vtchmod32 vtchmod64
rm -f $DSTDIR/vtchmod32 $DSTDIR/vtchmod64
rm -f vtchmod32 vtchmod64 vtchmodaa64
rm -f $DSTDIR/vtchmod32 $DSTDIR/vtchmod64 $DSTDIR/vtchmodaa64

/opt/diet32/bin/diet gcc -Os -m32 vtchmod.c -o vtchmod32
/opt/diet64/bin/diet gcc -Os vtchmod.c -o vtchmod64
aarch64-linux-gcc -Os -static vtchmod.c -o vtchmodaa64
aarch64-linux-strip --strip-all vtchmodaa64


chmod 777 vtchmod32
chmod 777 vtchmod64
chmod 777 vtchmodaa64

cp -a vtchmod32 $DSTDIR/
cp -a vtchmod64 $DSTDIR/


cp -a vtchmodaa64 $DSTDIR/

Binary file added BUSYBOX/chmod/vtchmodaa64
Binary file not shown.
Loading

0 comments on commit ebaa4d9

Please sign in to comment.