immortalwrt/target/linux
Adrian Schmutzler 0e2815c5c6
treewide: provide global default for SUPPORTED_DEVICES
The majority of our targets provide a default value for the variable
SUPPORTED_DEVICES, which is used in images to check against the
compatible on a running device:

  SUPPORTED_DEVICES := $(subst _,$(comma),$(1))

At the moment, this is implemented in the Device/Default block of
the individual targets or even subtargets. However, since we
standardized device names and compatible in the recent past, almost
all targets are following the same scheme now:

  device/image name:  vendor_model
  compatible:         vendor,model

The equal redundant definitions are a symptom of this process.

Consequently, this patch moves the definition to image.mk making it
a global default. For the few targets not using the scheme above,
SUPPORTED_DEVICES will be defined to a different value in
Device/Default anyway, overwriting the default. In other words:
This change is supposed to be cosmetic.

This can be used as a global measure to get the current compatible
with: $(firstword $(SUPPORTED_DEVICES))
(Though this is not precisely an achievement of this commit.)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-29 15:20:43 +08:00
..
apm821xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
arc770 treewide: remove support for kernel 4.x 2020-10-31 11:39:45 +08:00
archs38 config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-26 12:03:41 +08:00
armvirt Merge Mainline 2020-12-17 23:24:15 +08:00
at91 treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
ath25 kernel: bump 5.4 to 5.4.86 2021-01-02 12:00:30 +08:00
ath79 treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
bcm27xx kernel: bump to 4.9.252, 4.14.216, 4.19.169 2021-01-23 21:36:40 +08:00
bcm47xx kernel: drop empty kmod-ledtrig-* packages 2021-01-16 12:20:58 +08:00
bcm53xx kernel: drop empty kmod-ledtrig-* packages 2021-01-16 12:20:58 +08:00
bcm63xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
bcm4908 bcm4908: sort and wrap build recipes 2021-01-28 12:08:50 +08:00
gemini treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
generic Merge Mainline 2021-01-23 21:48:23 +08:00
imx6 imx6: disable unrequired pcie host driver 2021-01-08 16:10:48 +08:00
ipq40xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
ipq806x treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
ipq807x config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-26 12:03:41 +08:00
kirkwood kirkwood: remove generic profile 2021-01-28 19:57:34 +08:00
lantiq treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
layerscape treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
malta config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-26 12:03:41 +08:00
mediatek treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
mpc85xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
mvebu treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
mxs kernel: drop empty kmod-ledtrig-* packages 2021-01-16 12:20:58 +08:00
octeon kernel: bump 5.4 to 5.4.75 2020-11-12 11:14:24 +08:00
octeontx treewide: remove support for kernel 4.x 2020-10-31 11:39:45 +08:00
omap treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
oxnas treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
pistachio kernel: move some disabled symbols to generic 2020-12-23 11:33:15 +08:00
ramips treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
realtek treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
rockchip treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
sunxi treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
tegra treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 15:20:43 +08:00
uml kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
x86 config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-26 12:03:41 +08:00
zynq config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-26 12:03:41 +08:00
Makefile