mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
configure: use long option names
This commit is contained in:
@@ -4,7 +4,7 @@ sudo: required
|
|||||||
|
|
||||||
install: |
|
install: |
|
||||||
cd "$TRAVIS_BUILD_DIR"
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
bash -x ./configure -t
|
bash -x ./configure --travis
|
||||||
|
|
||||||
script: |
|
script: |
|
||||||
cd "$TRAVIS_BUILD_DIR"
|
cd "$TRAVIS_BUILD_DIR"
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ See <<gem5-vs-qemu,like QEMU>> for a more thorough comparison.
|
|||||||
For the most part, if you just add the `--gem5` option or `*-gem5` suffix to all commands and everything should magically work:
|
For the most part, if you just add the `--gem5` option or `*-gem5` suffix to all commands and everything should magically work:
|
||||||
|
|
||||||
....
|
....
|
||||||
./configure -g && \
|
./configure --gem5 && \
|
||||||
./build-gem5 && \
|
./build-gem5 && \
|
||||||
./build-buildroot --gem5 && \
|
./build-buildroot --gem5 && \
|
||||||
./run --gem5 &&\
|
./run --gem5 &&\
|
||||||
@@ -8285,7 +8285,7 @@ There are two ways to run PARSEC with this repo:
|
|||||||
====== PARSEC benchmark without parsecmgmt
|
====== PARSEC benchmark without parsecmgmt
|
||||||
|
|
||||||
....
|
....
|
||||||
./configure -gp && \
|
./configure --gem5 --parsec-benchmark && \
|
||||||
./build-buildroot --arch arm --buildroot-config 'BR2_PACKAGE_PARSEC_BENCHMARK=y' --gem5 && \
|
./build-buildroot --arch arm --buildroot-config 'BR2_PACKAGE_PARSEC_BENCHMARK=y' --gem5 && \
|
||||||
./run --arch arm --gem5 && \
|
./run --arch arm --gem5 && \
|
||||||
:;
|
:;
|
||||||
|
|||||||
27
configure
vendored
27
configure
vendored
@@ -8,24 +8,29 @@ qemu_given=false
|
|||||||
submodules_dir=submodules
|
submodules_dir=submodules
|
||||||
submodules=buildroot
|
submodules=buildroot
|
||||||
y=
|
y=
|
||||||
while getopts gpqt OPT; do
|
while [ $# -gt 0 ]; do
|
||||||
case "$OPT" in
|
case "$1" in
|
||||||
g)
|
--gem5)
|
||||||
gem5_given=true
|
gem5_given=true
|
||||||
;;
|
shift
|
||||||
p)
|
;;
|
||||||
|
--parsec-benchmark)
|
||||||
submodules="${submodules} parsec-benchmark"
|
submodules="${submodules} parsec-benchmark"
|
||||||
;;
|
;;
|
||||||
q)
|
--qemu)
|
||||||
qemu_given=true
|
qemu_given=true
|
||||||
;;
|
shift
|
||||||
t)
|
;;
|
||||||
|
--travis)
|
||||||
interactive_pkgs=
|
interactive_pkgs=
|
||||||
y=-y
|
y=-y
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
echo 'unknown option' 1>&2
|
||||||
|
exit 2
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $(($OPTIND - 1))
|
|
||||||
if "$gem5_given" && ! "$qemu_given"; then
|
if "$gem5_given" && ! "$qemu_given"; then
|
||||||
qemu=false
|
qemu=false
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user