kernel: lantiq: vrx518_ep: replace EXTRA_CFLAGS with ccflags-y

Replace EXTRA_CFLAGS with ccflags-y to fix builds on Linux 6.18.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/22930
Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Til Kaiser
2026-04-16 14:40:33 +02:00
committed by Nick Hainke
parent 60a5f423b0
commit 0ddad1a593
+2 -2
View File
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=vrx518_ep
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
@@ -47,7 +47,7 @@ EXTRA_CFLAGS:= \
define Build/Compile
$(KERNEL_MAKE) \
M="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
ccflags-y="$(EXTRA_CFLAGS)" \
$(EXTRA_KCONFIG) \
modules
endef