From 0ddad1a5931df9b353c8fce1f7f68e94b88d0197 Mon Sep 17 00:00:00 2001 From: Til Kaiser Date: Thu, 16 Apr 2026 14:40:33 +0200 Subject: [PATCH] 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 Link: https://github.com/openwrt/openwrt/pull/22930 Signed-off-by: Nick Hainke --- package/kernel/lantiq/vrx518_ep/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/kernel/lantiq/vrx518_ep/Makefile b/package/kernel/lantiq/vrx518_ep/Makefile index 7518080a807..cf2c29b4cdc 100644 --- a/package/kernel/lantiq/vrx518_ep/Makefile +++ b/package/kernel/lantiq/vrx518_ep/Makefile @@ -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