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 15:34:59 +0000 (16:34 +0100)
commit81c0cf031e06967972aec4c96ccba14e90b8b6c2
tree5e85022ae53999d5569a4a41b8d59c7e7ec0a30f
parent975811921e57a48ceb35135cd89e5944f6784314
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>
(cherry picked from commit 33e23e8922ce7b7e488c85816c4b1084ae3710b0)
target/linux/d1/image/Makefile