]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - BUSYBOX/chmod/build.sh
Set default label from ventoy to Ventoy (#656)
[Ventoy.git] / BUSYBOX / chmod / build.sh
index 7d23b2a7d910aec7cc1ff3a1da87b5e2cc6682c1..5b5edebdd86eb4487f0a4552b0f9555cffeac05b 100644 (file)
@@ -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/