aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/image/Makefile
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-03-22 20:58:16 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-18 12:06:49 +0200
commit81c1e0ab0061dfd768f5adf82ff9ebf257c630e2 (patch)
tree668d0818773d8abb9561499d7a69f89949755d97 /target/linux/realtek/image/Makefile
parent37920d6ee16267c216e890f9d9487ef1ef1eff17 (diff)
downloadupstream-81c1e0ab0061dfd768f5adf82ff9ebf257c630e2.tar.gz
upstream-81c1e0ab0061dfd768f5adf82ff9ebf257c630e2.tar.bz2
upstream-81c1e0ab0061dfd768f5adf82ff9ebf257c630e2.zip
realtek: add ZYXEL_VERS to DEVICE_VARS
Otherwise, the last defined value will be set for all devices. Fixes: c6c8d597e183 ("realtek: Add generic zyxel_gs1900 image definition") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 851dadc257b7223f879a3733507e83cfcaae1af1)
Diffstat (limited to 'target/linux/realtek/image/Makefile')
-rw-r--r--target/linux/realtek/image/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile
index d867d2a3d9..18e5fedb9b 100644
--- a/target/linux/realtek/image/Makefile
+++ b/target/linux/realtek/image/Makefile
@@ -6,6 +6,8 @@ include $(INCLUDE_DIR)/image.mk
KERNEL_LOADADDR = 0x80000000
KERNEL_ENTRY = 0x80000400
+DEVICE_VARS += ZYXEL_VERS
+
define Build/zyxel-vers
( echo VERS;\
for hw in $(1); do\