kernel: lantiq: vrx518_tc: 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-28 22:29:36 +02:00
committed by Nick Hainke
parent 0ddad1a593
commit ed3e2178af
+2 -2
View File
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=vrx518_tc
PKG_VERSION:=1.5.12.4
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_BASE_NAME:=vrx518_tc_drv
UGW_VERSION=8.5.2.10
@@ -64,7 +64,7 @@ EXTRA_CFLAGS:= \
define Build/Compile
$(KERNEL_MAKE) \
M="$(PKG_BUILD_DIR)/$(PLAT_DIR)" \
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
ccflags-y="$(EXTRA_CFLAGS)" \
FEATURE_VRX518_CPU=y \
modules
endef