From 31a08525bedd960c21214f84c256f67c6090bb5a Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Tue, 2 Dec 2025 13:13:54 +0800 Subject: [PATCH] bpftool-native: Empty DEBUG_PREFIX_MAP_EXTRA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most host gcc doesn't support -fcanon-prefix-map right now, so empty DEBUG_PREFIX_MAP_EXTRA to fix the below build error. | gcc: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb b/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb index bc7712ce4d..fe3ad6138e 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool-native_6.16.bb @@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "1a4be2fe6b5246aa4ac8987a8a4af34c42a8dd7d08b46ab48516bcc1be S = "${UNPACKDIR}/linux-${PV}" +DEBUG_PREFIX_MAP_EXTRA:toolchain-gcc = "" + EXTRA_OEMAKE = "\ V=1 \ -C ${S}/tools/bpf/bpftool \