aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/lzma-loader/Makefile
diff options
context:
space:
mode:
authorTobias Schramm <tobleminer@gmail.com>2018-05-03 16:27:10 +0200
committerMathias Kresin <dev@kresin.me>2018-06-21 06:55:10 +0200
commit5529e713578217fc9fac706783b8c61f3c649274 (patch)
tree9cd31545b9c1a22ced30f0d8bd2a4f897a0b8ff4 /target/linux/ramips/image/lzma-loader/Makefile
parent615186d415054836363644d0cf2c437dd47a7abe (diff)
downloadupstream-5529e713578217fc9fac706783b8c61f3c649274.tar.gz
upstream-5529e713578217fc9fac706783b8c61f3c649274.tar.bz2
upstream-5529e713578217fc9fac706783b8c61f3c649274.zip
ramips: Add support for mt7621 to lzma-loader
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
Diffstat (limited to 'target/linux/ramips/image/lzma-loader/Makefile')
-rw-r--r--target/linux/ramips/image/lzma-loader/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/image/lzma-loader/Makefile b/target/linux/ramips/image/lzma-loader/Makefile
index 783301695f..f22151c9d7 100644
--- a/target/linux/ramips/image/lzma-loader/Makefile
+++ b/target/linux/ramips/image/lzma-loader/Makefile
@@ -16,6 +16,7 @@ TARGET_DIR :=
FLASH_OFFS :=
FLASH_MAX :=
BOARD :=
+PLATFORM :=
ifeq ($(TARGET_DIR),)
TARGET_DIR := $(KDIR)
@@ -42,7 +43,7 @@ loader-compile: $(PKG_BUILD_DIR)/.prepared
FLASH_OFFS=$(FLASH_OFFS) \
FLASH_MAX=$(FLASH_MAX) \
BOARD="$(BOARD)" \
- PLATFORM="ralink" \
+ PLATFORM="$(PLATFORM)" \
clean all
loader.gz: $(PKG_BUILD_DIR)/loader.bin