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

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


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/863d1a634e88b6db497622e5f007acca1adad60b

commit 863d1a634e88b6db497622e5f007acca1adad60b
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>
    (cherry picked from commit 1b6f7ec6794233fbf7c1cf17dcee34053c08fa9c)
---
 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 60af865459..8ca370f57e 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