openwrt/target/linux
Adrian Schmutzler 991462f5a2 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: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:31 +00:00
..
apm821xx treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt armvirt: README: rename it from LEDE to OpenWrt 2021-09-01 08:07:21 +00:00
at91 treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
ath25 kernel: bump 5.4 to 5.4.86 2021-09-01 08:07:26 +00:00
ath79 treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
bcm27xx kernel: bump 5.4 to 5.4.89 2021-09-01 08:07:28 +00:00
bcm47xx kernel: drop empty kmod-ledtrig-* packages 2021-09-01 08:07:28 +00:00
bcm53xx kernel: drop empty kmod-ledtrig-* packages 2021-09-01 08:07:28 +00:00
bcm63xx treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
bcm4908 kernel: add parser finding rootfs after CFE bootfs 2021-09-01 08:07:30 +00:00
gemini treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
generic kernel: mtdsplit_uimage: replace "edimax, uimage" parser 2021-09-01 08:07:31 +00:00
imx6 imx6: disable unrequired pcie host driver 2021-09-01 08:07:27 +00:00
ipq40xx treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
ipq806x treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
ipq807x kernel: add disabled PROC_STRIPPED 2021-09-01 08:07:24 +00:00
kirkwood treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
lantiq treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
layerscape treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
mpc85xx treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
mvebu treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
mxs kernel: drop empty kmod-ledtrig-* packages 2021-09-01 08:07:28 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
oxnas treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
pistachio kernel: move some disabled symbols to generic 2021-09-01 08:07:23 +00:00
ramips treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
realtek treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
rockchip treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
sunxi treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
tegra treewide: provide global default for SUPPORTED_DEVICES 2021-09-01 08:07:31 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 kernel: drop empty kmod-ledtrig-* packages 2021-09-01 08:07:28 +00:00
zynq treewide: do not disable LED triggers in target config 2021-09-01 08:07:28 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00