0
0
mirror of https://github.com/ventoy/Ventoy.git synced 2024-11-25 14:46:30 +00:00
Ventoy/Unix/ventoy_unix_src/DragonFly/build.sh
2020-12-31 21:56:58 +08:00

14 lines
243 B
Bash

#!/bin/sh
rm -f init
gcc -DMOUNT_NOMAIN -Os -static *.c -I. -lutil -lkiconv -o init
strip --strip-all init
if [ -e init ]; then
echo -e "\n========= SUCCESS ==============\n"
else
echo -e "\n========= FAILED ==============\n"
fi