Files
linux-kernel-module-cheat/build-all
Ciro Santilli 2bddcc2891 build: unify QEMU and gem5 kernel configs! The last one!
Split optional and required kernel configs into separate files.

readme: describe how our kernel configs are generated from Buildroot

readme: document QEMU `-no-reboot` and speculate gem5 `panic_on_panic`
in preparation for some more automated bisection with ktest.
2018-04-21 11:50:02 +01:00

19 lines
421 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
# Build all archs (that we care the most about).
# Will take forever from a clean repo, this is most useful
# after pulling the repository to do an incremental build
# then quickly test out all the setups.
gem5=-g
while getopts G OPT; do
case "$OPT" in
G)
gem5=
;;
esac
done
shift "$(($OPTIND - 1))"
for arch in x86_64 arm aarch64; do
./build -a "$arch" -klq $gem5
done