[openwrt/openwrt] qualcommax: ipq807x: add Netgear DEVICE_VARS

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 8 00:58:42 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1b6f7ec6794233fbf7c1cf17dcee34053c08fa9c

commit 1b6f7ec6794233fbf7c1cf17dcee34053c08fa9c
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sat Dec 7 22:08:18 2024 +0100

    qualcommax: ipq807x: add Netgear DEVICE_VARS
    
    Add NETGEAR_BOARD_ID and NETGEAR_HW_ID to DEVICE_VARS as multiple devices
    set them in their recipes, so without them being added to DEVICE_VARS then
    simply the value from last recipe that gets evaluated is used and images
    are generated with the wrong ID-s.
    
    Link: https://github.com/openwrt/openwrt/pull/17203
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/qualcommax/image/ipq807x.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/qualcommax/image/ipq807x.mk b/target/linux/qualcommax/image/ipq807x.mk
index 34fe92ed54..ff6963405c 100644
--- a/target/linux/qualcommax/image/ipq807x.mk
+++ b/target/linux/qualcommax/image/ipq807x.mk
@@ -1,3 +1,5 @@
+DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
+
 define Build/asus-fake-ramdisk
 	rm -rf $(KDIR)/tmp/fakerd
 	dd if=/dev/zero bs=32 count=1 > $(KDIR)/tmp/fakerd




More information about the lede-commits mailing list