[openwrt/openwrt] perf: disable BUILD_BPF_SKEL

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 10 11:42:12 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ed23b44e55fe9a01b3156a818a1cb0fe030c0183

commit ed23b44e55fe9a01b3156a818a1cb0fe030c0183
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Thu Jul 10 15:05:39 2025 +0200

    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 <robimarko at gmail.com>
---
 package/devel/perf/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index be03fd0789..11841ce43b 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" \




More information about the lede-commits mailing list