treesls/quick-build.sh

18 lines
348 B
Bash
Raw Normal View History

2023-08-31 19:41:37 +08:00
#!/bin/bash
# This is a script for the quick building
# ./quick-build.sh (build x86_64)
# ./quick-build.sh raspi3 (build raspi3)
if [[ $1 == *"raspi3"* ]]; then
./chbuild distclean
./chbuild defconfig raspi3
./chbuild build
else
./chbuild distclean
./chbuild defconfig x86_64
./chbuild build
fi