mirror of https://github.com/ventoy/Ventoy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
440 B
Bash
16 lines
440 B
Bash
#!/bin/bash
|
|
|
|
rm -f vblade_*
|
|
|
|
gcc linux.c aoe.c ata.c bpf.c -Os -o vblade_64
|
|
gcc linux.c aoe.c ata.c bpf.c -Os -m32 -o vblade_32
|
|
aarch64-buildroot-linux-uclibc-gcc linux.c aoe.c ata.c bpf.c -Os -static -o vblade_aa64
|
|
|
|
if [ -e vblade_64 ] && [ -e vblade_32 ] && [ -e vblade_aa64 ]; then
|
|
echo -e '\n################## SUCCESS ######################\n'
|
|
else
|
|
echo -e '\n################## FAILED ######################\n'
|
|
exit 1
|
|
fi
|
|
|