aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
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
commitd68ebcc13d56fa8a82061ff34392dd1acf6aeab5 (patch)
tree3adaa1a28b57ff6c619e1d1d6dcfba96791c7c9c /target/linux/ar71xx
parentdb881f59272cf5c16cef1d0ea0c51a2b28f6283a (diff)
downloadmaster-187ad058-d68ebcc13d56fa8a82061ff34392dd1acf6aeab5.tar.gz
master-187ad058-d68ebcc13d56fa8a82061ff34392dd1acf6aeab5.tar.bz2
master-187ad058-d68ebcc13d56fa8a82061ff34392dd1acf6aeab5.zip
ar71xx: ensure that LOADADDR is passed to lzma-loader
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-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 2e0b9111f2..9b81e87306 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) \