qualcommax: ipq807x: add Netgear DEVICE_VARS
authorRobert Marko <robimarko@gmail.com>
Sat, 7 Dec 2024 21:08:18 +0000 (22:08 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 8 Dec 2024 08:59:16 +0000 (09:59 +0100)
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@gmail.com>
(cherry picked from commit 1b6f7ec6794233fbf7c1cf17dcee34053c08fa9c)

target/linux/qualcommax/image/ipq807x.mk

index 60af8654593a4664d726cb09b3d4cb07e4fafcfb..8ca370f57e686a1ef3f1e68efbedce77d00be686 100644 (file)
@@ -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