summaryrefslogtreecommitdiff
path: root/target/mips64el/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
commitdfadb4d959da4c63d0c634f0d50713f3fa679e50 (patch)
tree0b4d2ac5065e36bcc9850aa394bd6b163e6a833b /target/mips64el/Makefile
parentebad1f5ce74dfa9dead8d84c4d91051c68dc4e33 (diff)
make bulk fixes. fix toolchain building for sparc64/ppc
Diffstat (limited to 'target/mips64el/Makefile')
-rw-r--r--target/mips64el/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/mips64el/Makefile b/target/mips64el/Makefile
index fbfdfc63e..d9ff26f57 100644
--- a/target/mips64el/Makefile
+++ b/target/mips64el/Makefile
@@ -9,7 +9,13 @@ include $(TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
-ifeq ($(FS),archive)
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL)
+ @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
+ @echo 'The linux kernel is here: $(BIN_DIR)/$(TARGET_KERNEL)'
+ @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSUSERTARBALL}'
+endif
+ifeq ($(ADK_TARGET_FS),archive)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@cp $(KERNEL) $(BIN_DIR)/${TARGET_KERNEL}
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL),"
@@ -18,7 +24,7 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@echo "Start qemu with following options:"
@echo 'qemu-system-mips64el -nographic -M malta -kernel $(BIN_DIR)/${TARGET_KERNEL} -hda qemu-${CPU_ARCH}.img -append "root=/dev/hda1"'
endif
-ifeq ($(FS),initramfs)
+ifeq ($(ADK_TARGET_FS),initramfs)
imageinstall: $(BIN_DIR)/$(INITRAMFS)
@cp $(KERNEL) $(BIN_DIR)/${TARGET_KERNEL}
@echo 'The kernel file is: ${BIN_DIR}/${TARGET_KERNEL}'