mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build without sdl for travis
This commit is contained in:
8
build
8
build
@@ -2,10 +2,11 @@
|
||||
set -e
|
||||
arch=x86_64
|
||||
extra_targets=''
|
||||
qemu_sdl='--enable-sdl --with-sdlabi=2.0'
|
||||
j="$(($(nproc) - 2))"
|
||||
x11=false
|
||||
v=0
|
||||
while getopts 'a:e:j:nt:v' OPT; do
|
||||
while getopts 'a:e:j:nSt:v' OPT; do
|
||||
case "$OPT" in
|
||||
a)
|
||||
arch="$OPTARG"
|
||||
@@ -13,6 +14,9 @@ while getopts 'a:e:j:nt:v' OPT; do
|
||||
j)
|
||||
j="$OPTARG"
|
||||
;;
|
||||
S)
|
||||
qemu_sdl=''
|
||||
;;
|
||||
t)
|
||||
extra_targets="$extra_args $OPTARG"
|
||||
;;
|
||||
@@ -67,7 +71,7 @@ time \
|
||||
make \
|
||||
O="$outdir" \
|
||||
BR2_JLEVEL="$j" \
|
||||
HOST_QEMU_OPTS="--enable-debug --enable-sdl --extra-cflags='-DDEBUG_PL061=1' --with-sdlabi=2.0 --enable-trace-backends=simple" \
|
||||
HOST_QEMU_OPTS="--enable-debug --extra-cflags='-DDEBUG_PL061=1' --enable-trace-backends=simple $qemu_sdl" \
|
||||
V="$v" \
|
||||
kernel_module-rebuild \
|
||||
$extra_targets \
|
||||
|
||||
Reference in New Issue
Block a user