ar71xx: ensure that LOADADDR is passed to lzma-loader

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48101
This commit is contained in:
Felix Fietkau 2016-01-03 20:57:16 +00:00
parent c5dfbea1e8
commit ef215468f1

View file

@ -9,6 +9,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
LZMA_TEXT_START := 0x80a00000 LZMA_TEXT_START := 0x80a00000
LOADADDR := 0x80060000
LOADER := loader.bin LOADER := loader.bin
LOADER_NAME := $(basename $(notdir $(LOADER))) LOADER_NAME := $(basename $(notdir $(LOADER)))
LOADER_DATA := LOADER_DATA :=
@ -38,6 +39,7 @@ $(PKG_BUILD_DIR)/.prepared:
loader-compile: $(PKG_BUILD_DIR)/.prepared loader-compile: $(PKG_BUILD_DIR)/.prepared
$(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE="$(TARGET_CROSS)" \ $(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE="$(TARGET_CROSS)" \
LZMA_TEXT_START=$(LZMA_TEXT_START) \ LZMA_TEXT_START=$(LZMA_TEXT_START) \
LOADADDR=$(LOADADDR) \
LOADER_DATA=$(LOADER_DATA) \ LOADER_DATA=$(LOADER_DATA) \
FLASH_OFFS=$(FLASH_OFFS) \ FLASH_OFFS=$(FLASH_OFFS) \
FLASH_MAX=$(FLASH_MAX) \ FLASH_MAX=$(FLASH_MAX) \