summaryrefslogtreecommitdiff
path: root/target/mips/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-26 12:50:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-26 12:50:25 +0200
commita8c14536161a7f62f06beb5928acfd78691bef78 (patch)
treeadeaed5057b137598c625e1fc6f8054d2cd9bfa7 /target/mips/Makefile
parentce64829c0d165fe0f25c861117a359b05293ec51 (diff)
make arm/mips architectures more configurable in a simpler way
Diffstat (limited to 'target/mips/Makefile')
-rw-r--r--target/mips/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/mips/Makefile b/target/mips/Makefile
index 26532e64b..02eced887 100644
--- a/target/mips/Makefile
+++ b/target/mips/Makefile
@@ -7,7 +7,12 @@ include $(TOPDIR)/mk/modules.mk
include $(TOPDIR)/mk/kernel-build.mk
include $(TOPDIR)/mk/image.mk
+ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
+KERNEL:=$(LINUX_DIR)/vmlinuz
+else
KERNEL:=$(LINUX_DIR)/vmlinux
+endif
+
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
kernel-install:
@@ -51,3 +56,12 @@ imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
@echo "Start qemu with following command line:"
@echo 'qemu-system-mips -nographic -M malta -kernel $(BIN_DIR)/$(TARGET_KERNEL)'
endif
+ifeq ($(ADK_TARGET_FS),usb)
+imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+ @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
+ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
+ @echo "Startup the netbook and type del to enter PMON:"
+ @echo "PMON> load /dev/fs/ext2@usb0/boot/kernel"
+ @echo "PMON> g console=tty no_auto_cmd"
+endif
+endif