[openwrt/openwrt] realtek: add ZYXEL_VERS to DEVICE_VARS

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 18 13:15:43 BST 2021


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/81c1e0ab0061dfd768f5adf82ff9ebf257c630e2

commit 81c1e0ab0061dfd768f5adf82ff9ebf257c630e2
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Mon Mar 22 20:58:16 2021 +0100

    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 at adrianschmutzler.de>
    (cherry picked from commit 851dadc257b7223f879a3733507e83cfcaae1af1)
---
 target/linux/realtek/image/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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\



More information about the lede-commits mailing list