diff options
Diffstat (limited to 'target/csky')
-rw-r--r-- | target/csky/Makefile | 9 | ||||
-rw-r--r-- | target/csky/kernel/generic-csky | 1 | ||||
-rw-r--r-- | target/csky/kernel/qemu-csky | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/target/csky/Makefile b/target/csky/Makefile index 3d8f8d42b..4c550b407 100644 --- a/target/csky/Makefile +++ b/target/csky/Makefile @@ -7,6 +7,11 @@ include $(ADK_TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL) +QEMU_ARGS:=${ADK_QEMU_ARGS} +ifeq ($(ADK_TARGET_CPU_CSKY_CK610),y) +QEMU:=qemu-system-cskyv1 +endif + # target helper text ifeq ($(ADK_TARGET_FS),archive) targethelp: @@ -25,6 +30,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} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)' +endif endif ifeq ($(ADK_TARGET_FS),nfsroot) targethelp: diff --git a/target/csky/kernel/generic-csky b/target/csky/kernel/generic-csky index f126bb9df..b85f755ac 100644 --- a/target/csky/kernel/generic-csky +++ b/target/csky/kernel/generic-csky @@ -1 +1,2 @@ CONFIG_CSKY=y +CONFIG_SECTION_MISMATCH_WARN_ONLY=y diff --git a/target/csky/kernel/qemu-csky b/target/csky/kernel/qemu-csky index f126bb9df..b85f755ac 100644 --- a/target/csky/kernel/qemu-csky +++ b/target/csky/kernel/qemu-csky @@ -1 +1,2 @@ CONFIG_CSKY=y +CONFIG_SECTION_MISMATCH_WARN_ONLY=y |