Ventoy/Unix/ventoy_unix_src/DragonFly/build.sh

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