Commit Graph

34 Commits

Author SHA1 Message Date
Tianling Shen
94ecc7dfda
treewide: disable 4M devices build
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-30 05:06:03 +08:00
Tianling Shen
7f022898e9
ath79: nand: add KERNEL_SIZE for glinet_gl-ar750s-nor-nand
The recipe check-kernel-size was deprecated and use KERNEL_SIZE to
check the size of the kernel image.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-13 08:05:58 +08:00
Leonardo Mörlein
2a821d862c
build: introduce $(MKHASH)
Before this commit, it was assumed that mkhash is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-13 22:49:42 +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
Sungbo Eo
50a054a3a1 build: image: move IMAGE_SIZE to image.mk
IMAGE_SIZE is widely used in many targets. Declare it in the default template to
clean up redundant code. This also prevents deriving IMAGE_SIZE unintentionally
from the previously defined device.

While at it, remove duplicate KERNEL_SIZE declaration.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-09-21 20:00:35 +08:00
Sungbo Eo
54c4737fcf
treewide: omit IMAGE_SIZE argument from check-size
Now that check-size uses IMAGE_SIZE by default, we can skip the argument from
image recipes to reduce redundancy.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[do not touch ar71xx]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-30 23:44:37 +08:00
Hauke Mehrtens
b9e6f160bb ath79: Fix ubnt_edgeswitch-8xp DEVICE_PACKAGES
switch-bcm53xx-mdio does not exists, use kmod-switch-bcm53xx-mdio
instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Tobias Schramm <tobleminer@gmail.com>
2020-06-27 12:37:30 +08:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 4d68a12e34.
2020-02-28 20:50:04 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
This reverts commit 191ace6dff.
2020-02-27 17:39:41 +08:00
coolsnowwolf
191ace6dff Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 01ab5cf3c9.
2020-02-26 16:47:18 +08:00
AmadeusGhost
01ab5cf3c9
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
* kernel: bump 4.14 to 4.14.171

Refreshed all patches.

Fixes:
- CVE-2013-1798

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.105

Refreshed all patches.

Fixes:
- CVE-2013-1798
- CVE-2019-3016

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.106

Refreshed all patches.

Remove upstreamed:
- 950-0786-leds-pca963x-Fix-open-drain-initialization.patch

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump to 4.9.214, 4.14.171, 4.19.106

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-25 12:24:44 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
AmadeusGhost
2d7f1ed162
ath79: sync and fix wireless (#2919)
This commit sync target ath79 from openwrt master, and revert some commit which will causes wireless to not work.
Use ath10k-ct-smallbuffers by default, so that small memory devices can normal work.
2020-02-03 23:45:16 +08:00
LEAN-ESX
90eaa19f4e ath79: update upsteam 2019-12-02 05:55:49 -08:00
coolsnowwolf
ab24168802 kernel: bump to 4.9.168 , 4.14.111, 4.19.34 2019-04-12 11:39:40 +08:00
coolsnowwolf
8f7d3a8be8 ath79: add support for TP-Link TL-WR941N v7 2019-02-13 19:07:11 +08:00
coolsnowwolf
7a6e910f3d ath79: add support for qca9563 soc 2019-02-13 18:38:22 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
c7d3d41ea8 remove ath79 target 2019-01-02 21:16:56 +08:00
coolsnowwolf
57219006c6 ath79: fix pinmux reg size for QCA955x 2018-12-26 16:59:52 +08:00
coolsnowwolf
6b8ddb276b fix k2t bootup mtd mount 2018-12-24 14:06:55 +08:00
coolsnowwolf
ff0173989f ath79: add support for ROSINSON WR818 board 2018-11-28 18:38:01 +08:00
coolsnowwolf
d524395b9d ath79: add more ar71xx 4.14 models support 2018-11-24 16:13:03 +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
d857de74f4 add more tp link ath79 (qca9533 qca9561) support 2018-09-25 22:22:10 +08:00
coolsnowwolf
523655caf3 kernel update to 4.9.128 and 4.14.71 2018-09-22 16:57:24 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
14567c5d31 add PHICOMM K2T support in ath79 target 2018-08-24 13:31:12 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
b16811e305 update ath79 target 2018-06-04 13:54:20 +08:00
coolsnowwolf
e985e89cae update linux target patch 2018-05-22 18:44:30 +08:00
coolsnowwolf
b308fdeac2 add kernel 4.14 support for Netgear WNDR3800 etc 2018-05-16 12:19:25 +08:00