3 DSTDIR
=..
/..
/IMG
/cpio
/ventoy
/busybox
5 rm -f vtchmod32 vtchmod64 vtchmod64_musl vtchmodaa64
6 rm -f $DSTDIR/vtchmod32
$DSTDIR/vtchmod64
$DSTDIR/vtchmodaa64
8 /opt
/diet
32/bin
/diet gcc
-Os -m32 vtchmod.c
-o vtchmod32
9 /opt
/diet
64/bin
/diet gcc
-Os vtchmod.c
-o vtchmod64
10 aarch64
-linux-gcc -Os -static vtchmod.c
-o vtchmodaa64
11 aarch64
-linux-strip --strip-all vtchmodaa64
13 gcc
-specs "/usr/local/musl/lib/musl-gcc.specs" -Os -static vtchmod.c
-o vtchmod64_musl
14 strip
--strip-all vtchmod64_musl
19 chmod 777 vtchmod64_musl
21 cp -a vtchmod32
$DSTDIR/
22 cp -a vtchmod64
$DSTDIR/
23 cp -a vtchmodaa64
$DSTDIR/
24 cp -a vtchmod64_musl
$DSTDIR/