mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
configure: use long option names
This commit is contained in:
27
configure
vendored
27
configure
vendored
@@ -8,24 +8,29 @@ qemu_given=false
|
||||
submodules_dir=submodules
|
||||
submodules=buildroot
|
||||
y=
|
||||
while getopts gpqt OPT; do
|
||||
case "$OPT" in
|
||||
g)
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
--gem5)
|
||||
gem5_given=true
|
||||
;;
|
||||
p)
|
||||
shift
|
||||
;;
|
||||
--parsec-benchmark)
|
||||
submodules="${submodules} parsec-benchmark"
|
||||
;;
|
||||
q)
|
||||
;;
|
||||
--qemu)
|
||||
qemu_given=true
|
||||
;;
|
||||
t)
|
||||
shift
|
||||
;;
|
||||
--travis)
|
||||
interactive_pkgs=
|
||||
y=-y
|
||||
;;
|
||||
;;
|
||||
*)
|
||||
echo 'unknown option' 1>&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
done
|
||||
shift $(($OPTIND - 1))
|
||||
if "$gem5_given" && ! "$qemu_given"; then
|
||||
qemu=false
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user