build without sdl for travis

This commit is contained in:
Ciro Santilli
2017-11-18 19:05:40 +00:00
parent 959ecac538
commit 2f82f78589
3 changed files with 16 additions and 5 deletions

8
build
View File

@@ -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 \