build: d1: add SUPPORTED_DEVICES
authorEric Fahlgren <ericfahlgren@gmail.com>
Tue, 3 Dec 2024 23:17:05 +0000 (15:17 -0800)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Dec 2024 10:40:58 +0000 (11:40 +0100)
commit33e23e8922ce7b7e488c85816c4b1084ae3710b0
treeef6a32e017199e14a8c1e007da32e0d4cdf5cf28
parentb651e3223cbbffd86d1b63764032454c571d7c6a
build: d1: add SUPPORTED_DEVICES

Include specific SUPPORTED_DEVICES values derived from the .dts file.
This makes the generated profiles.json consistent with the 'board_name' from
'ubus call system board'.

Specifically, this fixes a bug in the generated profiles.json that breaks the
ASU clients when selecting the proper image from a build.

See the 'supported_devices' fields here for the incorrect (or incomplete) list:
https://downloads.openwrt.org/releases/24.10.0-rc1/targets/d1/generic/profiles.json

Links: https://forum.openwrt.org/t/owut-openwrt-upgrade-tool/200035/287
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17155
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/d1/image/Makefile