|
@@ -7,12 +7,17 @@ include $(ADK_TOPDIR)/mk/image.mk
|
|
|
|
|
|
KERNEL:=$(LINUX_DIR)/vmlinux
|
|
|
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
|
|
|
+QEMU_ARGS:=-nographic
|
|
|
|
|
|
# target helper text
|
|
|
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-or32 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) -initrd ${FW_DIR}/${INITRAMFS}'
|
|
|
+endif
|
|
|
endif
|
|
|
ifeq ($(ADK_TARGET_FS),initramfsarchive)
|
|
|
targethelp:
|
|
@@ -22,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-or32 ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
|
|
|
+endif
|
|
|
endif
|
|
|
|
|
|
kernel-strip:
|