Keygen compilation command

This commit is contained in:
Giulio 2020-05-22 14:12:16 +02:00
parent 7a7a043b2f
commit 0b43e07dc2

View File

@ -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