diff options
Diffstat (limited to 'target/riscv64')
-rw-r--r-- | target/riscv64/Makefile | 8 | ||||
-rw-r--r-- | target/riscv64/kernel/qemu-riscv64 | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/target/riscv64/Makefile b/target/riscv64/Makefile index 30099fb55..9b84ee309 100644 --- a/target/riscv64/Makefile +++ b/target/riscv64/Makefile @@ -14,6 +14,10 @@ ifeq ($(ADK_TARGET_FS),initramfs) targethelp: @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' @echo 'The initramfs image is: ${FW_DIR}/${INITRAMFS}' +ifeq ($(ADK_TARGET_QEMU),y) + @echo "Start qemu with following command line:" + @echo 'qemu-system-riscv64 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) -initrd ${FW_DIR}/${INITRAMFS}' +endif endif ifeq ($(ADK_TARGET_FS),initramfsarchive) targethelp: @@ -23,6 +27,10 @@ endif ifeq ($(ADK_TARGET_FS),initramfspiggyback) targethelp: @echo 'The kernel+initramfs file is: $(FW_DIR)/${TARGET_KERNEL}' +ifeq ($(ADK_TARGET_QEMU),y) + @echo "Start qemu with following command line:" + @echo 'qemu-system-riscv64 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)' +endif endif kernel-strip: diff --git a/target/riscv64/kernel/qemu-riscv64 b/target/riscv64/kernel/qemu-riscv64 index 94104e26c..85e4c59d5 100644 --- a/target/riscv64/kernel/qemu-riscv64 +++ b/target/riscv64/kernel/qemu-riscv64 @@ -1 +1,2 @@ CONFIG_RISCV=y +CONFIG_SECTION_MISMATCH_WARN_ONLY=y |