diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-31 09:13:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-07-31 09:13:26 +0200 |
commit | 4b7a075453479e183a02e34bf1177ef5538f026a (patch) | |
tree | 4b9684a91f0f6c9f34ef950aa5224d37c6471dc6 /target/x86/Makefile | |
parent | 1815107e44f048cc810cb2fd4ccd15510c57b420 (diff) |
add support for virtualbox emulator
Diffstat (limited to 'target/x86/Makefile')
-rw-r--r-- | target/x86/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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) |