From ed23b44e55fe9a01b3156a818a1cb0fe030c0183 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Thu, 10 Jul 2025 15:05:39 +0200 Subject: [PATCH] perf: disable BUILD_BPF_SKEL BUILD_BPF_SKEL was set to 1 by default in upstream commit: 9925495d96efc14d885ba66c5696f664fe0e663c ("perf build: Default BUILD_BPF_SKEL, warn/disable for missing deps") Prior to that, it was disabled by default and you had to enable it to build BPF skeleton support. So in order to fix perf compilation with kernel 6.12, lets disable BUILD_BPF_SKEL. Fixes: #19310 Link: https://github.com/openwrt/openwrt/pull/19361 Signed-off-by: Robert Marko --- package/devel/perf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index be03fd07894..11841ce43b5 100644 --- a/package/devel/perf/Makefile +++ b/package/devel/perf/Makefile @@ -57,6 +57,7 @@ MAKE_FLAGS = \ NO_LIBUNWIND=1 \ NO_LIBZSTD=1 \ NO_LIBCAP=1 \ + BUILD_BPF_SKEL=0 \ CROSS_COMPILE="$(TARGET_CROSS)" \ CC="$(TARGET_CC)" \ LD="$(TARGET_CROSS)ld" \ -- 2.47.2