Skip to content

build: do not set CCACHE_COMPILERCHECK - #22995

Merged
openwrt-bot merged 1 commit into
openwrt:mainfrom
hauke:ccache-fix-keys
Apr 22, 2026
Merged

openwrt-bot merged 1 commit into
openwrt:mainfrom
hauke:ccache-fix-keys

Conversation

@hauke

@hauke hauke commented Apr 18, 2026 •

Copy link
Copy Markdown
Member

Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on ccache's default, which hashes the compiler binary's mtime and size.

For a local tree that is enough: the toolchain only changes when it is rebuilt, and a rebuild updates mtime and size. Users who want a stricter check can still set CCACHE_COMPILERCHECK in their environment.

CI does not depend on this export either. The workflow writes a secondary ccache.conf with

compiler_check=string:

so the cache key is tied to the toolchain source revision. That is both stricter than the previous "%compiler% -v -c" setting and portable across runners, where compiler mtimes would not match after restoring a cache archive.

This should be combined with: openwrt/actions-shared-workflows#103

Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
@hauke
hauke force-pushed the ccache-fix-keys branch from d6c1e19 to 3956287 Compare April 22, 2026 21:57
@openwrt-bot
openwrt-bot merged commit 3956287 into openwrt:main Apr 22, 2026
3 checks passed
@hauke
hauke deleted the ccache-fix-keys branch April 22, 2026 23:11
openwrt-bot pushed a commit that referenced this pull request Apr 29, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: #22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)
openwrt-bot pushed a commit that referenced this pull request Apr 30, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: #22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request May 4, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
db4rne pushed a commit to db4rne/openwrt that referenced this pull request May 4, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
sp4rkiop pushed a commit to sp4rkiop/openwrt that referenced this pull request May 4, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
dchard pushed a commit to dchard/openwrt that referenced this pull request May 15, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
liudf0716 pushed a commit to liudf0716/chawrt that referenced this pull request May 21, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287514e5457723070f4b8bc7ed8084019d39)
(cherry picked from commit 50d801db753ecbc0cd08405a42120aaaf920bb8a)
openwrtdiy added a commit to openwrtdiy/openwrt that referenced this pull request May 23, 2026
* jsonfilter: fix memory leak in jsonfilter

Cherry pick an upstream patch to fix a memory leak.

Fixed in OpenWrt main branch in commit
2c2cea8 ("package: update jsonfilter to latest HEAD 2026-03-12")

Link: openwrt/jsonpath@e086664
Link: openwrt#22440
Signed-off-by: Hauke Mehrtens <[email protected]>

* lantiq: adapt gpio-stp-xway node name to get clock

The MIPS code assigns the clock node based on the device tree node name.
This name was renamed with kernel 6.12.58 and v6.6.117. Adapt our out of
tree device tree files to this rename to fix loading the STP GPIO
driver.

Without this fix the driver fails like this:
```
[    0.320000] gpio-stp-xway 1e100bb0.stp: Failed to get clock
[    0.330000] gpio-stp-xway 1e100bb0.stp: probe with driver gpio-stp-xway failed with error -2
```

Link: https://git.kernel.org/linus/b0d04fe6a633ada2c7bc1b5ddd011cbd85961868
Fixes: openwrt#21697
Co-Authored-By: Shiji Yang <[email protected]>
Link: openwrt#22444
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit d405685)
[Fix danube.dtsi too]
Signed-off-by: Hauke Mehrtens <[email protected]>

* ramips: mt76x8: fix bootcount init script file permissions

The bootcount init script is missing the executable bit (644 instead of 755),
causing the script to not be executable:

  /etc/preinit: line 44: /etc/init.d/bootcount: Permission denied

Fixes: c3b8108 ("ramips: Add support for Xiaomi MiWiFi 3A")
Signed-off-by: Oliver Sedlbauer <[email protected]>
Link: openwrt#22446
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit a15b224)

* OpenWrt v24.10.6: adjust config defaults

Signed-off-by: Hauke Mehrtens <[email protected]>

* OpenWrt v24.10.6: revert to branch defaults

Signed-off-by: Hauke Mehrtens <[email protected]>

* lantiq: fix mtdparsers refcount leak and memory leak

Release previously allocated memory and OF node before return.

Signed-off-by: Shiji Yang <[email protected]>
Link: openwrt#22276
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 4778e35)
Link: openwrt#22348
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.128

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.128

Add new KConfig symbols:
MFD_TN48M_CPLD [7]
MFD_SPACEMIT_P1 [8]

Removes upstreamed patches:
bcm27xx/patches-6.6/950-0291-media-i2c-ov5647-Correct-pixel-array-offset.patch [1]
bcm27xx/patches-6.6/950-0292-media-i2c-ov5647-Correct-minimum-VBLANK-value.patch [2]
bcm27xx/patches-6.6/950-0310-media-i2c-ov5647-Sensor-should-report-RAW-color-spac.patch [3]

Manually rebase patches:
bcm27xx/patches-6.6/950-0331-mfd-simple-mfd-i2c-Add-configuration-for-RPi-POE-HAT.patch [4]
bcm27xx/patches-6.6/950-1275-drivers-mfd-sensehat-Add-Raspberry-Pi-Sense-HAT-to-s.patch [4]
bcm27xx/patches-6.6/950-1330-media-i2c-ov5647-Add-V4L2_CID_LINK_FREQUENCY-control.patch [5]
lantiq/patches-6.6/0101-find_active_root.patch [6]

All other patches autorefeshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=1f413dac763a8caed44d8591aa064e4ab8061f52
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=e5f4aad2627dd9e5da46ad1325795ec12046facb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=c146483bad46e4abb7ab9c706adc51cd54f1a81e
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=b07aa526d05378bd6d2d61294424e411f4a14fe0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=089625cccd7eb8d65a381e81f1e3e1db064334df
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=9fbbd62436cec79b6a08c03f5711fcbef89a208d
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=29040d42d641892cbd7c5d91306063ceb2cac103
[8] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.128&id=d9e5d3e1924abe95babc0762c8f5c67382bf389a

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22348
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.129

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.129
Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22348
Signed-off-by: Hauke Mehrtens <[email protected]>

* ramips-mt7621: fix xiaomi mi ac2100 mac address

The Xiaomi Redmi/Mi Router AC2100 does have the correct label mac on the WAN interface.
This MAC is available as gmac1.

Signed-off-by: Florian Maurer <[email protected]>
Link: openwrt#22567
(cherry picked from commit b1713d6)
Link: openwrt#22624
Signed-off-by: Hauke Mehrtens <[email protected]>

* qualcommax: ipq807x: label mac for Linksys MX5300

The correct label mac is needed in a downstream project.

Signed-off-by: Steffen Förster <[email protected]>
Link: openwrt#22802
Signed-off-by: Robert Marko <[email protected]>

* qualcommax: ipq807x: mx5300: use existing aliases node

No need to add another aliases node just for the label-mac-device,
luckily DTC was smart enough to combine them together in the final DTB.

Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 1f53503)

* uboot-sunxi: fix build with swig 4.3.0

Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_next_node':
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Signed-off-by: Trix Taiclet <[email protected]>
Link: openwrt#22870
Signed-off-by: Hauke Mehrtens <[email protected]>

* uboot-tegra: fix build with swig 4.3.0

Swig 4.3.0 has changed SWIG_Python_AppendOutput, which now requires an
additional parameter `is_void`. SWIG_AppendOutput remains unchanged.
This was fixed upstream in u-boot/u-boot@a63456b

```
scripts/dtc/pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_next_node':
scripts/dtc/pylibfdt/libfdt_wrap.c:5581:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
 5581 |     resultobj = SWIG_Python_AppendOutput(resultobj, val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
```

This is the same fix as applied in 363e07d.

Signed-off-by: Trix Taiclet <[email protected]>
Link: openwrt#22870
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.130

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.130

Manually refreshed patches:
generic/hack-6.6/790-SFP-GE-T-ignore-TX_FAULT.patch [1]
generic/pending-6.6/680-net-add-TCP-fraglist-GRO-support.patch [4]

Dropped upstreamed patches:
airoha/patches-6.6/083-01-v6.13-resource-Add-resource-set-range-and-size-helpers.patch [2]
generic/pending-6.6/685-net-gso-fix-tcp-fraglist-segmentation-after-pull-fro.patch [3]

All other patches autorefreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=783025a3babbc526dd0b31f36cc4edc8c2153c8a
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=ffe8617e2e5b388d43462a56c5042e35f701195b
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=e19201b0c67da5146eaac06fd3d44bd7945c3448
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.130&id=1f2b859225eb8d1ec974214ce4a581f8c528ae57

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22752
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.131

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.131

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22752
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.132

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.132

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22752
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.133

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.133

All patches autorefreshed.

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#22752
Signed-off-by: Hauke Mehrtens <[email protected]>

* bcm53xx: image: sync targets names with DT compatible

Some devices profile names and *.dts files are named without suffix
"-v1" but the DT compatible has the suffix. (xwr-3150 exception)

This breaks ASU sysupgrades since the default SUPPORTED_DEVICES is the
makefile image profile target and it does not match the actual DT
compatible sent by the ASU client.

This is not breaking sysupgrade because the platform implementation
does not depends on DEVICE_NAME(not use sysupgrade-TAR). And the
board_name() checks are done against the correct DT compatible.[1]

[1]: https://github.com/openwrt/openwrt/blob/09e7b24ceb5d9310334c4f88327dc6d58052e7fd/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh#L36-L62
Fixes: openwrt/asu#560
Fixes: openwrt/asu#560 (comment)
Fixes: openwrt/asu#1108
Fixes: https://forum.openwrt.org/t/luci-attended-sysupgrade-support-thread/230552/243
Fixes: c459a6b "bcm53xx: add support for Luxul FullMAC WiFi devices"
Fixes: 1d47f81 "bcm53xx: build images for Luxul ABR-4500 and XBR-4500 routers"
Signed-off-by: Mario Andrés Pérez <[email protected]>
Link: openwrt#21056
(cherry picked from commit ff63c5c)
Link: openwrt#22829
Signed-off-by: Hauke Mehrtens <[email protected]>

* scripts/ext-tools.sh: set all prebuilt tool files to same timestamp

The GitHub CI was sometimes still building some tools again even when
the same version was already pre-built. This change fixes the problem
and should improve the speed of the GitHub CI actions. The duration of
the "Build tools" step will be reduced from 5 to 20 minutes down to
10 to 15 seconds.

make also checks that dependencies are not more recent than the target
it wants to build. Previously find returned files in an arbitrary order
and touch set the current timestamp. Since touch is called per file the
timestamps differ in fractional seconds, so not all files got the same
time. make detected a more recent dependency and started to rebuild.
Now all files are set to the same timestamp and make will assume
everything is up to date.

It is sufficient to only touch the stamp files to prevent rebuilding.

Link: openwrt#22888
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit cd6cb9f)

* boot: Introduce support for U-Boot support for Airoha EN7581/AN7583

Introduce support for U-Boot for Airoha EN7581/AN7583. For EN7581
initial patch are already in U-Boot mainline and doesn't require
backport, for AN7583 some patch are still pending but already posted
upstream.

Also add for now, precompiled binary for ATF BL2 and BL31. Support for
ATF is planned and will come later.

Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 04f6769)

* uboot-airoha: drop HIDDEN option

Drop HIDDEN option from U-Boot default for Airoha while support for ATF
gets pushed.

Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit cce81ed)

* wifi-scripts: fix macaddr check in mac80211.uc

This fixes a simple logic error in the macaddr existence check in mac80211.uc.

Signed-off-by: Harin Lee <[email protected]>
Link: openwrt#21277
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 2ebcda1)
Link: openwrt#23100
Signed-off-by: Christian Marangi <[email protected]>

* rules.mk: Update ccache's compiler check.

Update the compiler check for ccache so we don't
end up with the wrong binaries. Right now the
compiler check will not be able to correctly
distinguish the compiler used for build
ARMv8 binaries from the one used to build
ARMv7 binaries.

Signed-off-by: Markus Gothe <[email protected]>

Link: openwrt#16290
Signed-off-by: John Crispin <[email protected]>
(cherry picked from commit 3859e8e)

* build: do not set CCACHE_COMPILERCHECK

Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)

* kernel: bump 6.6 to 6.6.134

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.134

Manually refreshed patches:
generic/pending-6.6/360-Revert-MIPS-mm-kmalloc-tlb_vpn-array-to-avoid-stack-.patch [1]

Drop upstreamed patches:
ramips/patches-6.6/100-mips-ralink-update-CPU-clock-index.patch [2]

All other patches autorefreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.134&id=43fa022b56dcdb0026ed82c76fd9f0775ecf2202
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.134&id=e01779a5c0283078120d26b9954752a323b571bb

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#23083
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.135

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.135

Removed patches after upstream fix:
generic/pending-6.6/360-Revert-MIPS-mm-kmalloc-tlb_vpn-array-to-avoid-stack-.patch [1]
generic/pending-6.6/361-Revert-MIPS-mm-Prevent-a-TLB-shutdown-on-initial-uni.patch [1]

Upstream fixed booting the RealTek MIPS 4KEc SoCs. The reverts are not
needed any more.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.135&id=811b3dccfb0aad889e4691f2c79c0cfa0cdfe78b

Signed-off-by: Goetz Goerisch <[email protected]>
Link: openwrt#23083
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.136

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.136

Manually refreshed patches:
generic/backport-6.6/752-26-v6.10-net-ethernet-mtk_eth_soc-ppe-add-support-for-multipl.patch [1]
generic/hack-6.6/902-debloat_proc.patch [2]

All other patches autorefreshed.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.136&id=71ca90c26eef6fe84c5b08824f8aeb65bb9e3a04
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.136&id=002a73470b56848e4c81efeaaedd471e92d66d8d

Signed-off-by: Tomáš Macholda <[email protected]>
Link: openwrt#23170
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.137

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.137

All patches autorefreshed.

Signed-off-by: Tomáš Macholda <[email protected]>
Link: openwrt#23170
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.138

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.138

All patches autorefreshed.

Link: openwrt#23291
Signed-off-by: Hauke Mehrtens <[email protected]>

* openssl: update to version 3.0.20

OpenSSL 3.0.20 is a security patch release. The most severe CVE fixed in
this release is Moderate.

This release incorporates the following bug fixes and mitigations:

* Fixed incorrect failure handling in RSA KEM RSASVE encapsulation.
  (CVE-2026-31790)

* Fixed potential use-after-free in DANE client code.
  (CVE-2026-28387)

* Fixed NULL pointer dereference when processing a delta CRL.
  (CVE-2026-28388)

* Fixed possible NULL dereference when processing CMS
  KeyAgreeRecipientInfo.
  (CVE-2026-28389)

* Fixed possible NULL dereference when processing CMS
  KeyTransportRecipientInfo.
  (CVE-2026-28390)

* Fixed heap buffer overflow in hexadecimal conversion.
  (CVE-2026-31789)

Signed-off-by: Jan Kardell <[email protected]>
Link: openwrt#23346
Signed-off-by: Hauke Mehrtens <[email protected]>

* airoha: add the capability to read firmware names from dts

Introduce the capability to read the firmware binary names from device-tree
using the firmware-name property if available.
This is a preliminary patch to enable NPU offloading for MT7996 (Eagle)
chipset since it requires a different binary with respect to the one
used for MT7992 on the EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
(cherry picked from commit 123557f)
[ refresh patch ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: an7581: add specific NPU dtsi and update eMMC and W1700K

Add specific DTSI for NPU firmware based on the supported WiFi chip and
update the supported device by including the relevant new DTSI.

(cherry picked from commit f075c11)
[ drop W1700K dts change ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: fix EN7581 PCIe initialization and add x2 link support

Fix two hardware initialization issues in the EN7581 PCIe controller
and add support for x2 (2-lane) link mode.

Fixes:

The upstream EN7581 PCIe initialization writes EQ presets and PIPE
configuration registers before clk_bulk_prepare_enable(). Since the
MAC clocks are not yet running at that point, these register writes
are silently dropped, leaving the hardware with default values. This
can cause link training failures or suboptimal equalization.

Additionally, after link training the MAC may only advertise Gen1-Gen2
capability in the Link Capabilities 2 register despite the PHY being
configured for Gen3. A serdes reset toggle forces the MAC to re-read
PHY capability, recovering Gen3 8GT/s link speed.

Both issues are addressed by separating PERST from the clock callbacks
(patch 911), allowing the PCIe controller driver to properly sequence
PERST, clock enable, and register writes (patch 912).

New feature:

PCIe x2 mode support for EN7581 using the NP_SCU system controller
for serdes mux routing, PERST management, and lane configuration.
Both bonded MACs are configured for x2 operation with proper EQ
presets before link training begins.

Signed-off-by: Ryan Chen <[email protected]>
Link: openwrt#21978
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 8b9bd68)
[ refresh patch ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: an7581: drop airoha,x2-mode related property and enable in device

Drop airoha,x2-mode related property from the DTSI and enable them only in
the relevant devices that use a PCIe0 line. x2-mode should be enabled only
for the WiFi card that would use it as it might cause problem for WiFi card
that expect 2 single PCIe x1 line instead of a single PCIe x2 line.

Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 0bf1870)

* airoha: an7581: disable NPU offload stats for eagle

'CONFIG_NET_AIROHA_FLOW_STATS=y' currently breaks NPU
offload for AN7581+MT7996, so disable it for now.

Signed-off-by: Kenneth Kasilag <[email protected]>
Link: openwrt#22300
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit d09041e)

* airoha: replace I2S patch with upstream pending version

Replace I2S sound patch with upstream pending version. This adds ETDM
support and fix various bug in the downstream implementation.

(cherry picked from commit 8f19140)
[ fix conflict error ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: fix kernel panic from I2S driver

Commit 8f19140 ("airoha: replace I2S patch with upstream pending
version") introduced a kernel panic with I2S driver.

Add the fixed patch to fix the kernel panic.

Fixes: 8f19140 ("airoha: replace I2S patch with upstream pending version")
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit cc57e15)

* airoha: renumber ASoC and PCS patch for more backport patch

Renumber ASoC and PCS patch to 2xx and 3xx numbering to leave space for
more backport patch in the 000-1xx numbering.

Link: openwrt#22479
(cherry picked from commit 9b21478)
[ fix conflict errors ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: show link rate and duplex

Implement the .get_link_ksettings to get the rate, duplex, and
auto-negotiation status.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Link: openwrt#21530
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 4953db3)
[ fix conflict error ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: npu: Init BA memory region if provided via DTS

Initialize NPU Block Ack memory region if reserved via DTS.
Block Ack memory region is used by NPU MT7996 (Eagle) offloading.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
(cherry picked from commit 305f685)
[ fix conflict error ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: net: fix building for en7523

Latest an7581/an7583 improvements breaks en7523. This patch just fixes
en7523 building.

Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Link: openwrt#20365
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit fe31e5c)
[ fix conflict error, refresh patch ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: backport some missing airoha_eth upstream patches

Backport more upstream patch to include all the fixes pushed upstream and
add all the preliminary patch for multi-serdes support.

While at it also move 2 patch in the 6xx numbering to the 000-1xx backport
numbering to keep things tidy.

All the affected patch manually and automatically refreshed.

Signed-off-by: Lorenzo Bianconi <[email protected]>
[ add comment, renumber patch, add more patch, fix PCS patch ]
Link: openwrt#22479
(cherry picked from commit c5a8ddd)
[ fix conflict errors ]
Signed-off-by: Christian Marangi <[email protected]>

* generic: backport new field_prep()/get() helper for non-const bitmask

Backport new field_prep()/get() particularly useful to handle case where a
bitmask is not const and FIELD_PREP can't be used. This permit to replace
manual shift with these macro. (also needed to permit backport of some
patch without modification)

Backport reworked patch that drop the local field_prep()/get() macro in
favor of the global one.

Link: openwrt#22479
(cherry picked from commit 25f92aa)
[ fix conflict error, drop invalid patch ]
Signed-off-by: Christian Marangi <[email protected]>

* airoha: an7581: move internal PHY interrupt to specific device DTS

It was discovered that the internal PHY interrupt are not always connected
and PHY link up/down is not correctly detected.

This is the case of the Nokia Valyrian board that suffer from this problem.

To handle this, drop the internal PHY interrupt property from DTSI and add
it only to the Gemtek W1700K DTS where it was reported to work correctly.

(cherry picked from commit 89d8dc1)
[ drop Gemtek W1700K ]
Signed-off-by: Christian Marangi <[email protected]>

* mbedtls: update to 3.6.6

This version fixes some security problems:
 * Client impersonation while resuming a TLS 1.3 session
   (CVE-2026-34873)
 * Entropy on Linux can fall back to /dev/urandom (CVE-2026-34871)
 * PSA random generator cloning (CVE-2026-25835)
 * Compiler-induced constant-time violations (CVE-2025-66442)
 * Null pointer dereference when setting a distinguished name
   (CVE-2026-34874)
 * Buffer overflow in FFDH public key export (CVE-2026-34875)
 * FFDH: lack of contributory behaviour due to improper input validation
   (CVE-2026-34872)
 * Signature Algorithm Injection (CVE-2026-25834)
 * CCM multipart finish tag-length validation bypass (CVE-2026-34876)
 * Risk of insufficient protection of serialized session or context data
   leading to potential memory safety issues (CVE-2026-34877)
 * Buffer underflow in x509_inet_pton_ipv6() (CVE-2026-25833)

Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.6

Size increases by 470 bytes on aarch64:
343995 bin/packages/aarch64_generic/base/libmbedtls21-3.6.5-r1.apk
344465 bin/packages/aarch64_generic/base/libmbedtls21-3.6.6-r1.apk

Link: openwrt#22787
(cherry picked from commit f48ef00)
Link: openwrt#23362
Signed-off-by: Hauke Mehrtens <[email protected]>

* mbedtls: backport upstream patches to fix TLS 1.2 client issues

Fix a TLS 1.2 regression that caused clients to reject valid
ServerKeyExchange signatures using RSA-PSS signature algorithms.

The TLS 1.2 regression resulted in errors like:
$ curl https://api.domeneshop.no/v0/
curl: (35) ssl_handshake returned: (-0x6600) SSL - A field in a message was incorrect or inconsistent with other fields

Fixes: openwrt#22874
Fixes: openwrt#23116
Fixes: f48ef00 ("mbedtls: update to 3.6.6")
Signed-off-by: Magnus Kroken <[email protected]>
Link: openwrt#23066
(cherry picked from commit e65001e)
Link: openwrt#23362
Signed-off-by: Hauke Mehrtens <[email protected]>

* wolfssl: Update to version 5.8.2

This version fixes multiple security problems:
CVE-2025-7395: Problem in certificate verification on Apple devices
CVE-2025-7394: Predictable results from RAND_bytes() after fork call in OpenSSL compatibility layer
CVE-2025-7396: Activate Curve25519 blinding support

See Release notes:
https://github.com/wolfSSL/wolfssl/releases/tag/v5.8.0-stable
https://github.com/wolfSSL/wolfssl/releases/tag/v5.8.2-stable

wolfSSL is now GPLv3 instead of GPLv2, see:
wolfSSL/wolfssl@629c5b4

The file size increased a bit:
```
546060 bin/packages/mipsel_24kc/base/libwolfssl5.7.6.e624513f-5.7.6-r1.apk
560684 bin/packages/mipsel_24kc/base/libwolfssl5.8.2.e624513f-5.8.2-r1.apk
```

Link: openwrt#20547
(cherry picked from commit 92f0786)
Link: openwrt#23363
Signed-off-by: Hauke Mehrtens <[email protected]>

* wolfssl: update to 5.8.4

Release Notes:
https://www.wolfssl.com/wolfssl-5-8-4-now-available/

Fixes CVEs:
- CVE-2025-12889
- CVE-2025-12888
- CVE-2025-11936
- CVE-2025-11935
- CVE-2025-11934
- CVE-2025-11933
- CVE-2025-11932
- CVE-2025-11931

Link: openwrt#20922
Signed-off-by: Nick Hainke <[email protected]>
(cherry picked from commit b03c79f)
Link: openwrt#23363
Signed-off-by: Hauke Mehrtens <[email protected]>

* wolfssl: update to 5.9.0

Release Notes:
https://www.wolfssl.com/wolfssl-5-9-0-released/

Fixes CVEs:
- CVE-2026-3548
- CVE-2026-3549
- CVE-2026-3547
- CVE-2026-2646
- CVE-2026-3849
- CVE-2026-0819
- CVE-2026-1005
- CVE-2026-2645
- CVE-2026-3230
- CVE-2026-3229
- CVE-2026-3579
- CVE-2026-3580
- CVE-2026-3503
- CVE-2026-4159
- CVE-2026-4395

Signed-off-by: Ignat Loskutov <[email protected]>
Link: openwrt#22595
Signed-off-by: Nick Hainke <[email protected]>
(cherry picked from commit e953186)
Link: openwrt#23363
Signed-off-by: Hauke Mehrtens <[email protected]>

* wolfssl: update to 5.9.1

For changes, see:
https://github.com/wolfSSL/wolfssl/releases/tag/v5.9.1-stable

This includes a fix for a critical (CVSS 9.3) vulnerability:
GHSA-f5h9-5q52-qrx7

Signed-off-by: Sander van Deijck <[email protected]>
Link: openwrt#23072
Signed-off-by: Nick Hainke <[email protected]>
(cherry picked from commit 8ef7b4e)
Link: openwrt#23363
Signed-off-by: Hauke Mehrtens <[email protected]>

* dnsmasq: apply six CVE-fix upstream patches to 2.90

Apply upstream patches for the recently published CVEs in dnsmasq.

Source: https://thekelleys.org.uk/dnsmasq/CVE/
Reference: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html

Signed-off-by: Hannu Nyman <[email protected]>
Link: openwrt#23328
(cherry picked from commit dc04999)
[added this to main branch first, 002-CVE-2026-4890.dnsmasq-2.91.patch modified]
Link: openwrt#23365
Signed-off-by: Hauke Mehrtens <[email protected]>

* kernel: bump 6.6 to 6.6.139

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.139

All patches autorefreshed.

Signed-off-by: Hauke Mehrtens <[email protected]>

* wireless-regdb: update to version 2026.03.18

Changes:
  update regulatory database based on preceding
  Update regulatory rules for India (IN) on 6GHz
  Replace M2Crypto with cryptography package
  Fix regulatory.bin signing with new

Signed-off-by: xiao bo <[email protected]>
Link: openwrt#23101
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit ce7bc7a)

* ca-certificates: update to 20260223

Debian changelog:

  * Update Mozilla certificate authority bundle to version 2.82
    The following certificate authorities were added (+):
    + TrustAsia TLS ECC Root CA
    + TrustAsia TLS RSA Root CA
    + SwissSign RSA TLS Root CA 2022 - 1
    + OISTE Server Root ECC G1
    +  OISTE Server Root RSA G1
    The following certificate authorities were removed (-):
    - GlobalSign Root CA
    - Entrust.net Premium 2048 Secure Server CA
    - Baltimore CyberTrust Root (closes: #1121936)
    - Comodo AAA Services root
    - XRamp Global CA Root
    - Go Daddy Class 2 CA
    - Starfield Class 2 CA
    - CommScope Public Trust ECC Root-01
    - CommScope Public Trust ECC Root-02
    - CommScope Public Trust RSA Root-01
    - CommScope Public Trust RSA Root-02
  * Use dh_usrlocal to create /usr/local/share/ca-certificates
    (closes: #1127100)

Signed-off-by: Fengyu Wu <[email protected]>
Link: openwrt#23155
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 403c52d)

* airoha: backport patch fixing offload support with GDM2 present

Backport upstream patch fixing offload support in the presence of GDM2
interface.

(cherry picked from commit b7aa0aa)
[ fix conflict error ]
Signed-off-by: Christian Marangi <[email protected]>

---------

Signed-off-by: Hauke Mehrtens <[email protected]>
Signed-off-by: Oliver Sedlbauer <[email protected]>
Signed-off-by: Shiji Yang <[email protected]>
Signed-off-by: Robert Marko <[email protected]>
Signed-off-by: Goetz Goerisch <[email protected]>
Signed-off-by: Florian Maurer <[email protected]>
Signed-off-by: Steffen Förster <[email protected]>
Signed-off-by: Trix Taiclet <[email protected]>
Signed-off-by: Mario Andrés Pérez <[email protected]>
Signed-off-by: Christian Marangi <[email protected]>
Signed-off-by: Harin Lee <[email protected]>
Signed-off-by: John Crispin <[email protected]>
Signed-off-by: Tomáš Macholda <[email protected]>
Signed-off-by: Jan Kardell <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Ryan Chen <[email protected]>
Signed-off-by: Kenneth Kasilag <[email protected]>
Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Signed-off-by: Magnus Kroken <[email protected]>
Signed-off-by: Nick Hainke <[email protected]>
Signed-off-by: Ignat Loskutov <[email protected]>
Signed-off-by: Sander van Deijck <[email protected]>
Signed-off-by: Hannu Nyman <[email protected]>
Signed-off-by: xiao bo <[email protected]>
Signed-off-by: Fengyu Wu <[email protected]>
Co-authored-by: Hauke Mehrtens <[email protected]>
Co-authored-by: Shiji Yang <[email protected]>
Co-authored-by: Oliver Sedlbauer <[email protected]>
Co-authored-by: Goetz Goerisch <[email protected]>
Co-authored-by: Florian Maurer <[email protected]>
Co-authored-by: Steffen Förster <[email protected]>
Co-authored-by: Robert Marko <[email protected]>
Co-authored-by: Trix Taiclet <[email protected]>
Co-authored-by: Mario Andrés Pérez <[email protected]>
Co-authored-by: Christian Marangi <[email protected]>
Co-authored-by: Harin Lee <[email protected]>
Co-authored-by: Markus Gothe <[email protected]>
Co-authored-by: Tomáš Macholda <[email protected]>
Co-authored-by: Jan Kardell <[email protected]>
Co-authored-by: Lorenzo Bianconi <[email protected]>
Co-authored-by: Ryan Chen <[email protected]>
Co-authored-by: Kenneth Kasilag <[email protected]>
Co-authored-by: Aleksander Jan Bajkowski <[email protected]>
Co-authored-by: Mikhail Kshevetskiy <[email protected]>
Co-authored-by: Magnus Kroken <[email protected]>
Co-authored-by: Nick Hainke <[email protected]>
Co-authored-by: Ignat Loskutov <[email protected]>
Co-authored-by: Sander van Deijck <[email protected]>
Co-authored-by: Hannu Nyman <[email protected]>
Co-authored-by: xiao bo <[email protected]>
Co-authored-by: Fengyu Wu <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)
Quarx2k pushed a commit to Quarx2k/OpenWRT-BE7000 that referenced this pull request Sep 22, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287514e5457723070f4b8bc7ed8084019d39)
(cherry picked from commit a6149ff)
codelinaro-mirror-sync Bot pushed a commit to CodeLinaro-mirror/le_owrt_prplwrt that referenced this pull request Oct 18, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287514e5457723070f4b8bc7ed8084019d39)
(cherry picked from commit a6149ff)
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 19, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)

(cherry picked from commit a6149ff)
sKyissKy pushed a commit to sKyissKy/immortalwrt-mt798x-6.6 that referenced this pull request Nov 25, 2026
Stop overriding CCACHE_COMPILERCHECK from rules.mk and rely on
ccache's default, which hashes the compiler binary's mtime and
size.

For a local tree that is enough: the toolchain only changes when
it is rebuilt, and a rebuild updates mtime and size. Users who
want a stricter check can still set CCACHE_COMPILERCHECK in their
environment.

CI does not depend on this export either. The workflow writes a
secondary ccache.conf with

  compiler_check=string:<toolchain-commit-sha>

so the cache key is tied to the toolchain source revision. That
is both stricter than the previous "%compiler% -v -c" setting
and portable across runners, where compiler mtimes would not
match after restoring a cache archive.

Link: openwrt/openwrt#22995
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3956287)
(cherry picked from commit a6149ff)
Reference: https://github.com/immortalwrt/immortalwrt (openwrt-24.10, commit a6149ff)
Signed-off-by: sKyissKy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants