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:54:42 +0200
commit4fa85a625f33c4602511dc5b2ee406329bf289c2 (patch)
treea28624cd04306a658a29f972e5760154fee2fee1 /target/linux/ramips/image/lzma-loader/Makefile
parentfeb0a0bf22143326b3b3515ab0bb4682194dc75a (diff)
downloadupstream-4fa85a625f33c4602511dc5b2ee406329bf289c2.tar.gz
upstream-4fa85a625f33c4602511dc5b2ee406329bf289c2.tar.bz2
upstream-4fa85a625f33c4602511dc5b2ee406329bf289c2.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