summaryrefslogtreecommitdiff
path: root/target/x86
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-10 15:36:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-10 15:36:44 +0200
commitcbce24b80358c0eb4968139c7695dd8eb2bb5378 (patch)
tree9fae6e7c8cddfbd675ebe8aaddfe488b3d001829 /target/x86
parentf9a94113d9ca3caf4c5a20b2db9d4b0af3846b2b (diff)
try to use new grub2
Diffstat (limited to 'target/x86')
-rw-r--r--target/x86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/x86/Makefile b/target/x86/Makefile
index e72087ea9..27920819f 100644
--- a/target/x86/Makefile
+++ b/target/x86/Makefile
@@ -38,8 +38,12 @@ ifeq ($(ADK_HARDWARE_QEMU),y)
@echo "Use following command to create a QEMU Image:"
@echo "$(CREATE) qemu-${CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following command line:"
+ifeq ($(ADK_TARGET_QEMU_WITH_BOOTLOADER),y)
+ @echo 'qemu-system-i386 ${ADK_QEMU_ARGS} -net user -net nic,model=e1000 qemu-${CPU_ARCH}.img'
+else
@echo 'qemu-system-i386 ${ADK_QEMU_ARGS} -net user -net nic,model=e1000 -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${CPU_ARCH}.img'
endif
+endif
ifeq ($(ADK_HARDWARE_VBOX),y)
@cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
@echo "Use following command to create a VirtualBox Image:"