From 0b43e07dc28fb175fe64fca86b4ba2b7ec4bbf67 Mon Sep 17 00:00:00 2001 From: Giulio Date: Fri, 22 May 2020 14:12:16 +0200 Subject: [PATCH] Keygen compilation command --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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