]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
perf: disable BUILD_BPF_SKEL
authorRobert Marko <robimarko@gmail.com>
Thu, 10 Jul 2025 13:05:39 +0000 (15:05 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 10 Jul 2025 18:42:07 +0000 (20:42 +0200)
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@gmail.com>
package/devel/perf/Makefile

index be03fd078941924dcb5d6e0ce95196722042f852..11841ce43b5637f0d50602cf72909c776f22a962 100644 (file)
@@ -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" \