diff --git a/build.sh b/build.sh index e2e3be0..53266d9 100755 --- a/build.sh +++ b/build.sh @@ -9,7 +9,7 @@ echo "[+] Cloning buildroot" git clone https://github.com/buildroot/buildroot.git target/buildroot echo "[+] Building the keygen" mkdir -p conf/usr/sbin -gcc -o conf/usr/sbin/cfgbin keygen/keygen.c +gcc -lm -static -o conf/usr/sbin/cfgbin keygen/keygen.c strip conf/usr/sbin/cfgbin echo "[+] Adding customization files" cp -R buildroot/* target/buildroot # copy buildroot configs