mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 12:34:26 +01:00
bak
This commit is contained in:
3
run
3
run
@@ -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 \
|
||||||
;
|
;
|
||||||
|
|||||||
2
runqemu
2
runqemu
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user