mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
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.
19 lines
421 B
Bash
Executable File
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
|