diff options
Diffstat (limited to 'target/ag241/Makefile')
-rw-r--r-- | target/ag241/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/ag241/Makefile b/target/ag241/Makefile index cb8ce4a71..44b8b1dff 100644 --- a/target/ag241/Makefile +++ b/target/ag241/Makefile @@ -16,8 +16,7 @@ tools-compile: $(TOOLS_BUILD_DIR) $(MAKE) -C ../tools/squashfs prepare compile install 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 |