Commit Graph

35 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
AmadeusGhost
7e33e24758 ipq806x: m520: add gpio-led sys supportt
(cherry picked from commit 6e017db)
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-06-15 23:35:06 +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
AmadeusGhost
1e4accd9bd ipq40xx: sync upstream source code 2020-09-16 11:38:38 +08:00
AmadeusGhost
19f408b239 ipq806x: m520: enable tca1116 chips from chilauhe 2020-06-25 22:36:19 +08:00
AmadeusGhost
ce149a86b9 ipq806x/4.19: fix error dts for m520
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-15 09:35:18 +08:00
AmadeusGhost
fb56108243 ipq806x: add i2c devices support for m520
This commit enable lm75 and pcf8563 for m520.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-03-12 21:38:09 +08:00
AmadeusGhost
464fb0c122
ipq806x: add support for ruijie_rg-mtfi-m520 (#3025)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-11 17:26:50 +08:00
AmadeusGhost
c7cfa84287
ipq806x: switch to ath10k-ct (#2854) 2020-01-30 01:40:13 +08:00
LEAN-ESX
38f64e0960 ipq806x: revert to kernel 4.14 2019-12-28 17:53:52 -08:00
LEAN-ESX
70e66b06b1 kernel: bump to 4.9.207, 4.14.160, 4.19.91 2019-12-24 23:57:52 -08:00
coolsnowwolf
953744494a ipq806x: switch to ath10k 2019-05-12 16:16:34 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
96bab7c8f9 Revert "ipq806x: add support for Buffalo WXR-2533DHP"
This reverts commit a3057c7d65.
2018-12-31 11:33:21 +08:00
coolsnowwolf
a3057c7d65 ipq806x: add support for Buffalo WXR-2533DHP 2018-12-27 09:47:51 +08:00
coolsnowwolf
f10d9502fe use ath10k and firmware instead of ath10k-ct 2018-10-19 22:51:37 +08:00
coolsnowwolf
3687b871e5 ipq806x:fix EA8500 vlan issue and drop 4.9 kernel support 2018-10-12 13:05:17 +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
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
e1f392235d fix IPQ806x support (R7500v2 R7800) etc 2018-04-23 15:11:20 +08:00
coolsnowwolf
2af3d2eb0d fix ipq806x image error 2018-04-10 17:02:16 +08:00
coolsnowwolf
7e464f4ef5 switch ipq806x to kernel 4.14 2018-04-10 16:31:13 +08:00
coolsnowwolf
280da421a3 revert ubifs support 2018-01-26 22:34:06 +08:00
coolsnowwolf
5888dc95bd add RT-ACRH17 pcie drivers full support with new DTD 2018-01-24 15:48:45 +08:00
coolsnowwolf
ae33ef74dc merge ipq806x to trunk update 2018-01-24 14:12:48 +08:00
coolsnowwolf
a75d5c7bfb add 2.4G wireless support for ASUS RT-ACRH17 2018-01-13 22:51:36 +08:00
coolsnowwolf
f067e41e8f Revert "add ASUS RT-ACRH17 wireless support"
This reverts commit d196cfe831.
2018-01-09 20:43:48 +08:00
coolsnowwolf
d196cfe831 add ASUS RT-ACRH17 wireless support 2018-01-09 17:26:16 +08:00
coolsnowwolf
80fa1493bf fix web flash for RT-ACRH17 2017-11-02 22:07:40 +08:00
coolsnowwolf
2175fb410c add init support for Asus RT-ACRH17 2017-10-23 13:10:30 +08:00
coolsnowwolf
03efb03919 Merge branch 'master' of https://github.com/lede-project/source 2017-09-12 01:07:20 +08:00
coolsnowwolf
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00