Ventoy/Unix/ventoy_unix_src/DragonFly/build.sh

14 lines
243 B
Bash
Raw Normal View History

2020-12-31 08:56:58 -05:00
#!/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