From 4b7a075453479e183a02e34bf1177ef5538f026a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 31 Jul 2012 09:13:26 +0200 Subject: add support for virtualbox emulator --- target/x86/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/x86/Makefile') diff --git a/target/x86/Makefile b/target/x86/Makefile index 40fe4ded6..f81eb101c 100644 --- a/target/x86/Makefile +++ b/target/x86/Makefile @@ -36,6 +36,11 @@ ifeq ($(ADK_HARDWARE_QEMU),y) @echo "Start qemu with following command line:" @echo 'qemu -nographic -net user,hostfwd=tcp::2222-:22 -net nic,model=e1000 -kernel $(BIN_DIR)/$(TARGET_KERNEL) qemu-${CPU_ARCH}.img' endif +ifeq ($(ADK_HARDWARE_VBOX),y) + @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) + @echo "Use following command to create a VirtualBox Image:" + @echo "./scripts/create-image-with-grub.sh -f vbox vbox-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)" +endif endif ifeq ($(ADK_TARGET_FS),usb) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) -- cgit v1.2.3