summaryrefslogtreecommitdiff
path: root/target/wag54g/Makefile
diff options
context:
space:
mode:
authorU-windows7\wbx <wbx@windows7.(none)>2009-12-20 13:29:10 +0100
committerU-windows7\wbx <wbx@windows7.(none)>2009-12-20 13:29:10 +0100
commit9115ff8b3139bab8ebc2d25f1ec03a98b2641c99 (patch)
tree2c7535d8970d7ebf5a7b5613fc3324b3200c0645 /target/wag54g/Makefile
parent82009b8fa77db023dd186444e2698a5d9c01d496 (diff)
parent6b65886e809bdbfd7699e7fbbc8980f5eb4992c4 (diff)
Merge branch 'master' of git://openadk.org/git/openadk
Diffstat (limited to 'target/wag54g/Makefile')
-rw-r--r--target/wag54g/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/wag54g/Makefile b/target/wag54g/Makefile
index 90f63ceec..d86ada854 100644
--- a/target/wag54g/Makefile
+++ b/target/wag54g/Makefile
@@ -19,7 +19,7 @@ tools-compile: $(TOOLS_BUILD_DIR)
kernel-install: tools-compile
PATH='${TARGET_PATH}' \
- mipsel-linux-objcopy -S -O srec $(LINUX_DIR)/vmlinux \
+ $(TARGET_CROSS)objcopy -S -O srec $(LINUX_DIR)/vmlinux \
$(LINUX_DIR)/vmlinux.srec
PATH='${TARGET_PATH}' \
srec2bin $(LINUX_DIR)/vmlinux.srec $(LINUX_DIR)/vmlinux.bin
@@ -27,7 +27,7 @@ kernel-install: tools-compile
$(LINUX_DIR)/vmlinux.tmp
PATH='${TARGET_PATH}' \
addpattern -p WA21 -i $(LINUX_DIR)/vmlinux.tmp \
- -o $(BIN_DIR)/${ADK_TARGET}-${ARCH}-kernel
+ -o $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
ifeq ($(FS),squashfs)
imageinstall: $(BIN_DIR)/$(ROOTFSSQUASHFS)
@@ -44,11 +44,11 @@ endif
ifeq ($(FS),nfsroot)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@echo
- @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${ARCH}-kernel'
+ @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
@echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}'
@echo 'You can flash the kernel via tftp:'
@echo 'tftp 192.168.1.1'
@echo 'tftp> binary'
- @echo 'tftp> put wag54g-mips-kernel upgrade_code.bin'
+ @echo 'tftp> put ${ADK_TARGET}-${FS}-kernel upgrade_code.bin'
@echo 'Login as user root with password linux123 via ssh or console'
endif