immortalwrt/target/linux
Adrian Schmutzler 75697c9c12
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 22:47:58 +08:00
..
apm821xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
ar7 kernel: bump 4.9 to 4.9.237 2020-09-30 20:08:29 +08:00
ar71xx kernel: bump to 4.9.250, 4.14.214, 4.19.166 2021-01-10 00:12:43 +08:00
arc770 update target 2019-08-19 22:26:19 +08:00
archs38 update target 2019-08-19 22:26:19 +08:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2020-12-15 11:39:07 +08:00
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 kernel: bump to 4.9.249, 4.14.213, 4.19.164 2020-12-31 20:59:32 +08:00
ath79 treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
bcm27xx kernel: bump 4.19 to 4.19.171 2021-01-29 03:28:54 +08:00
bcm53xx kernel: bump to 4.9.249, 4.14.213, 4.19.164 2020-12-31 20:59:32 +08:00
brcm47xx kernel: bump to 4.9.249, 4.14.213, 4.19.164 2020-12-31 20:59:32 +08:00
brcm63xx kernel: bump 4.19 to 4.19.171 2021-01-29 03:28:54 +08:00
cns3xxx kernel: bump to 4.9.249, 4.14.213, 4.19.164 2020-12-31 20:59:32 +08:00
gemini treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
generic kernel: bump 4.19 to 4.19.171 2021-01-29 03:28:54 +08:00
imx6 kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
ipq40xx treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
ipq806x treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
ixp4xx kernel: bump to 4.9.253, 4.14.217, 4.19.170 2021-01-24 02:47:59 +08:00
kirkwood treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
lantiq treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
layerscape kernel: bump to 4.9.253, 4.14.217, 4.19.170 2021-01-24 02:47:59 +08:00
malta update target 2019-08-19 22:26:19 +08:00
mediatek treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
mpc85xx kernel: bump 4.19 to 4.19.155 2020-11-08 03:24:12 +08:00
mvebu treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
mxs kernel: bump 4.14 to 4.14.177 2020-05-03 19:32:54 +08:00
octeon kernel: bump 4.19 to 4.19.155 2020-11-08 03:24:12 +08:00
octeontx kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350) 2020-04-17 11:50:34 +08:00
omap treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
orion update target 2019-08-19 22:26:19 +08:00
oxnas treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
pistachio kernel: bump to kernel 4.9.247, 4.14.210, 4.19.161 2020-12-06 00:24:09 +08:00
ramips treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
rb532 kernel: bump to 4.14.203, 4.19.154 2020-10-31 01:29:00 +08:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-05 11:53:32 +08:00
sunxi treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
tegra treewide: provide global default for SUPPORTED_DEVICES 2021-01-29 22:47:58 +08:00
uml kernel: bump to 4.9.240, 4.14.202, 4.19.152 2020-10-17 19:46:46 +08:00
x86 x86: generic: disable CONFIG_EFI_VARS 2020-11-14 13:45:12 +08:00
zynq update target 2019-08-19 22:26:19 +08:00
Makefile build: add 'make kernel_xconfig' command 2020-07-09 12:03:26 +08:00