Commit Graph

23 Commits

Author SHA1 Message Date
Adrian Schmutzler
7984a95946
treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.

For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.

Cc: Paul Spooren <mail@aparcar.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit ef2cb8572b)
2021-09-17 04:48:26 +08:00
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
CN_SZTL
948e3c5395
Merge Lean's source 2019-11-23 21:00:34 +08:00
coolsnowwolf
0bef1bfffe Revert "mvebu: add vendor patch"
This reverts commit 5a658d74bd.
2019-11-23 20:04:39 +08:00
CN_SZTL
852827fe36
Merge Lean's source 2019-11-23 01:12:30 +08:00
LEAN-ESX
5a658d74bd mvebu: add vendor patch 2019-11-22 08:42:16 -08:00
CN_SZTL
088f2a41d8
build: label kernel and rootfs ext4 volumes 2019-11-08 21:17:06 +08:00
CN_SZTL
b2dddb18ae
mvebu: fix permission 2019-10-19 07:42:17 +08:00
LEAN-ESX
1328caec23 mvebu: merge upstream patch 2019-10-18 12:03:43 -07:00
LEAN-ESX
1d882a86f6 kernel: bump to 4.9.183, 4.14.129, 4.19.53 2019-07-06 07:02:01 -07:00
coolsnowwolf
4c45063e33 default enable 802.11r and 802.11w in ar71xx ath79 mvebu mtk7620 mtk7621 target 2018-10-17 22:06:35 +08:00
coolsnowwolf
b2334751e0 drop mvebu kernel 4.9 support 2018-10-14 21:25:39 +08:00
coolsnowwolf
a2f8e14276 mac80211: make ath10k the default ath10k-ct 2018-09-28 11:00:40 +08:00
coolsnowwolf
4d1bf340d1 wireless drivers upgreade to 4.19-rc4-1. fix many MTK driver issue. ath10k change to ath10k-ct 2018-09-26 23:33:12 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
4186aca221 update kernel version to 4.9.106 and 4.14.48 2018-06-08 15:40:11 +08:00
coolsnowwolf
5c05cbbc82 add support for Linksys WRT32X (venom) 2018-05-16 12:22:01 +08:00
coolsnowwolf
a4978f7543 add kernel 4.14 support for mvebu 2018-04-08 22:59:26 +08:00
coolsnowwolf
4c965143d0 fix mvebu wifi issue 2018-01-08 13:43:42 +08:00
coolsnowwolf
7185e1ceb2 merge: change branding for LEDE to OpenWrt 2017-12-12 16:57:14 +08:00
coolsnowwolf
8a7c703937 mvebu patch update to kernel 4.9.57 2017-10-21 02:14:11 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00