summaryrefslogtreecommitdiff
path: root/target/qemu-x86_64/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-06 20:43:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-06 20:43:57 +0100
commit0151157c0f04799a8c4673fc430c6bfebda83d7e (patch)
tree0eabaed966bd7256865c8ce29ea5f997f618909c /target/qemu-x86_64/Makefile
parentd9c9f5dfecc6d6cb24d45d478e0e7147d9c6f2dc (diff)
fix qemu-x86_64 image, get rid of duplicat include dir
- fix image build for different root filesystems - get rid of duplicate symlink to include dir - finetune mpd config file
Diffstat (limited to 'target/qemu-x86_64/Makefile')
-rw-r--r--target/qemu-x86_64/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/qemu-x86_64/Makefile b/target/qemu-x86_64/Makefile
index e5ad35946..f843b9aba 100644
--- a/target/qemu-x86_64/Makefile
+++ b/target/qemu-x86_64/Makefile
@@ -12,10 +12,13 @@ kernel-install:
ifeq ($(FS),archive)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+ @cp $(LINUX_DIR)/arch/x86/boot/bzImage $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel
@echo
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
@echo "Use following command to create a QEMU Image:"
- @echo "sudo ./scripts/create-image.sh qemu.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+ @echo "sudo ./scripts/create-image.sh -n -f $(ADK_TARGET_ROOTFS) qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-x86_64 -nographic -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel qemu-${CPU_ARCH}.img'
@echo 'Login as user root with password linux123 via ssh or console'
endif
@@ -24,6 +27,7 @@ imageinstall: $(BIN_DIR)/$(INITRAMFS)
@cp $(LINUX_DIR)/arch/x86/boot/bzImage $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel
@echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${ARCH}-kernel'
@echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
- @echo 'qemu-system-x86_64 -nographic -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS} -append "console=ttyS0"'
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-x86_64 -nographic -kernel $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel -initrd ${BIN_DIR}/${INITRAMFS}'
@echo 'Login as user root with password linux123 via ssh or console'
endif