summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-03 20:57:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-03 20:57:16 +0000
commitef215468f1df8980274ee15279c53951a49681a1 (patch)
tree61c6b0deb167c80c413ddf8a32ae0afde9406a72 /target
parentc5dfbea1e8d053621b11cbb1390a2f984a2b20e2 (diff)
downloadmtk-20170518-ef215468f1df8980274ee15279c53951a49681a1.zip
mtk-20170518-ef215468f1df8980274ee15279c53951a49681a1.tar.gz
mtk-20170518-ef215468f1df8980274ee15279c53951a49681a1.tar.bz2
ar71xx: ensure that LOADADDR is passed to lzma-loader
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48101
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/image/lzma-loader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/lzma-loader/Makefile b/target/linux/ar71xx/image/lzma-loader/Makefile
index 2e0b911..9b81e87 100644
--- a/target/linux/ar71xx/image/lzma-loader/Makefile
+++ b/target/linux/ar71xx/image/lzma-loader/Makefile
@@ -9,6 +9,7 @@
include $(TOPDIR)/rules.mk
LZMA_TEXT_START := 0x80a00000
+LOADADDR := 0x80060000
LOADER := loader.bin
LOADER_NAME := $(basename $(notdir $(LOADER)))
LOADER_DATA :=
@@ -38,6 +39,7 @@ $(PKG_BUILD_DIR)/.prepared:
loader-compile: $(PKG_BUILD_DIR)/.prepared
$(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE="$(TARGET_CROSS)" \
LZMA_TEXT_START=$(LZMA_TEXT_START) \
+ LOADADDR=$(LOADADDR) \
LOADER_DATA=$(LOADER_DATA) \
FLASH_OFFS=$(FLASH_OFFS) \
FLASH_MAX=$(FLASH_MAX) \