mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
bak
This commit is contained in:
3
run
3
run
@@ -38,7 +38,8 @@ env \
|
||||
-u LD_LIBRARY_PATH \
|
||||
make \
|
||||
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 \
|
||||
all \
|
||||
;
|
||||
|
||||
2
runqemu
2
runqemu
@@ -42,7 +42,7 @@ case "$arch" in
|
||||
if $kgdb; then
|
||||
extra_append="$extra_append kgdboc=ttyS0,115200"
|
||||
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 \
|
||||
-append 'root=/dev/vda $extra_append' \
|
||||
-drive file=${images_dir}/rootfs.ext2,if=virtio,format=raw \
|
||||
|
||||
Reference in New Issue
Block a user