diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-05 00:18:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-05 00:18:18 +0100 |
commit | d0398dc33628c501388d32dcb3faf68859dd6bcb (patch) | |
tree | 401c29c68bfe46cd79276029e77c85fc82f77b8a /target/mips64/Makefile | |
parent | abbe4e3293c77bc5f6215a9eb4c1d20923bbf951 (diff) |
update mips qemu targets. 64 Bit kernels still does not boot completely
Diffstat (limited to 'target/mips64/Makefile')
-rw-r--r-- | target/mips64/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/target/mips64/Makefile b/target/mips64/Makefile index 12781b874..a242511c9 100644 --- a/target/mips64/Makefile +++ b/target/mips64/Makefile @@ -8,17 +8,20 @@ include $(TOPDIR)/mk/kernel-build.mk include $(TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/vmlinux +OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -ifeq ($(FS),archive) +ifeq ($(ADK_TARGET_FS),archive) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) + @cp $(TARGET_DIR)/boot/kernel $(BIN_DIR)/$(TARGET_KERNEL) @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)" @echo "Use following command to create a QEMU Image:" @echo "sudo ./scripts/create-image.sh qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)" @echo "Start qemu with following options:" - @echo 'qemu-system-mips64 -nographic -M malta -kernel $(BIN_DIR)/${TARGET_KERNEL} -hda qemu-${CPU_ARCH}.img -append "root=/dev/hda1"' + @echo 'qemu-system-mips64 -nographic -M malta -kernel $(BIN_DIR)/${TARGET_KERNEL} qemu-${CPU_ARCH}.img' endif -ifeq ($(FS),initramfs) +ifeq ($(ADK_TARGET_FS),initramfs) imageinstall: $(BIN_DIR)/$(INITRAMFS) + @cp $(TARGET_DIR)/boot/kernel $(BIN_DIR)/$(TARGET_KERNEL) @echo 'The kernel file is: ${BIN_DIR}/${TARGET_KERNEL}' @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}' @echo 'qemu-system-mips64 -nographic -M malta -kernel $(BIN_DIR)/${TARGET_KERNEL} -initrd ${BIN_DIR}/${INITRAMFS}' |