1
1
openwrt/package/kernel/mt76/patches
Mieczyslaw Nalewaj c9479d48be mt76: pass LED define via ccflags-y
Replace the deprecated EXTRA_CFLAGS with ccflags-y so that
the -DCONFIG_MT76_LEDS define is applied correctly by the kernel
build system. EXTRA_CFLAGS is no longer honored by recent
kbuilds[1]; ccflags-y is the supported variable and works
on kernels 6.12 and 6.18.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.18.20&id=f77bf01425b11947eeb3b5b54685212c302741b8

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22737
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-03 19:13:17 +02:00
..
002-use-hrtimer_setup-in-mt76x02u-beacon-init.patch mt76: use hrtimer_setup() in mt76x02u beacon init 2026-03-28 11:51:10 +01:00
003-pass-LED-define-via-ccflags-y.patch mt76: pass LED define via ccflags-y 2026-04-03 19:13:17 +02:00