This commit is contained in:
Ciro Santilli
2017-06-14 00:23:58 +01:00
parent 89e6b0f97a
commit 251a8ecf53
2 changed files with 3 additions and 2 deletions

3
run
View File

@@ -38,7 +38,8 @@ env \
-u LD_LIBRARY_PATH \ -u LD_LIBRARY_PATH \
make \ make \
BR2_JLEVEL="$(($(nproc) - 2))" \ BR2_JLEVEL="$(($(nproc) - 2))" \
HOST_QEMU_OPTS="--enable-sdl --with-sdlabi=2.0" \ HOST_QEMU_OPTS="--enable-debug --enable-sdl --with-sdlabi=2.0" \
host-qemu-reconfigure \
kernel_module-rebuild \ kernel_module-rebuild \
all \ all \
; ;

View File

@@ -42,7 +42,7 @@ case "$arch" in
if $kgdb; then if $kgdb; then
extra_append="$extra_append kgdboc=ttyS0,115200" extra_append="$extra_append kgdboc=ttyS0,115200"
fi fi
cmd="./buildroot/output/host/usr/bin/qemu-system-x86_64 \ cmd="gdb -q -ex start --args ./buildroot/output/host/usr/bin/qemu-system-x86_64 \
-M pc \ -M pc \
-append 'root=/dev/vda $extra_append' \ -append 'root=/dev/vda $extra_append' \
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \ -drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \