3 DSTDIR
=..
/..
/IMG
/cpio
/ventoy
/busybox
5 rm -f vtchmod32 vtchmod64 vtchmod64_musl vtchmodaa64
6 rm -f $DSTDIR/vtchmod32
$DSTDIR/vtchmod64
$DSTDIR/vtchmodaa64
$DSTDIR/vtchmodm64e
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 mips64el
-linux-musl-gcc -mips64r2 -mabi=64 -Os -static vtchmod.c
-o vtchmodm64e
14 mips64el
-linux-musl-strip --strip-all vtchmodm64e
17 gcc
-specs "/usr/local/musl/lib/musl-gcc.specs" -Os -static vtchmod.c
-o vtchmod64_musl
18 strip
--strip-all vtchmod64_musl
23 chmod 777 vtchmod64_musl
26 cp -a vtchmod32
$DSTDIR/
27 cp -a vtchmod64
$DSTDIR/
28 cp -a vtchmodaa64
$DSTDIR/
29 cp -a vtchmod64_musl
$DSTDIR/
30 cp -a vtchmodm64e
$DSTDIR/