realtek: add ZYXEL_VERS to DEVICE_VARS
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 22 Mar 2021 19:58:16 +0000 (20:58 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 22 Mar 2021 19:58:16 +0000 (20:58 +0100)
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>
target/linux/realtek/image/Makefile

index d867d2a3d98062cfd6f651754c6a9f4192dd7b72..18e5fedb9bd94fde8a80aa39eb64ce87207cd618 100644 (file)
@@ -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\