treesls/quick-build.sh

18 lines
348 B
Bash
Executable File

#!/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