summaryrefslogtreecommitdiff
path: root/target/mipsel/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/mipsel/Makefile
parentebad1f5ce74dfa9dead8d84c4d91051c68dc4e33 (diff)
make bulk fixes. fix toolchain building for sparc64/ppc
Diffstat (limited to 'target/mipsel/Makefile')
-rw-r--r--target/mipsel/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/mipsel/Makefile b/target/mipsel/Makefile
index 752d80019..6578082b0 100644
--- a/target/mipsel/Makefile
+++ b/target/mipsel/Makefile
@@ -22,18 +22,17 @@ tools-compile: $(TOOLS_BUILD_DIR)
ifeq ($(ADK_TARGET_SYSTEM_LINKSYS_WRT54G),y)
kernel-install: tools-compile
$(TARGET_CROSS)objcopy $(OSTRIP) -S $(LINUX_DIR)/vmlinux \
- $(LINUX_DIR)/vmlinuz
- @gzip -c9 $(LINUX_DIR)/vmlinuz > $(BIN_DIR)/$(TARGET_KERNEL)
+ $(LINUX_DIR)/vmlinux.stripped
+ @gzip -c9 $(LINUX_DIR)/vmlinux.stripped > $(BUILD_DIR)/$(TARGET_KERNEL)
endif
ifeq ($(ADK_TARGET_SYSTEM_LINKSYS_AG241),y)
kernel-install: tools-compile
- ${TARGET_CROSS}objcopy -S -O srec $(KERNEL) \
- $(LINUX_DIR)/vmlinux.srec
+ ${TARGET_CROSS}objcopy -S -O srec $(KERNEL) $(LINUX_DIR)/vmlinux.srec
PATH='${TARGET_PATH}' srec2bin $(LINUX_DIR)/vmlinux.srec $(LINUX_DIR)/vmlinux.bin
(dd if=/dev/zero bs=16 count=1; cat $(LINUX_DIR)/vmlinux.bin) > $(LINUX_DIR)/vmlinux.tmp
PATH='${TARGET_PATH}' addpattern -p AG3B -b -r 2.0 -i $(LINUX_DIR)/vmlinux.tmp \
- -o $(BIN_DIR)/$(TARGET_KERNEL) 2>/dev/null
+ -o $(BUILD_DIR)/$(TARGET_KERNEL) 2>/dev/null
endif
ifeq ($(ADK_TARGET_SYSTEM_MIKROTIK_RB532),y)