[oe] [meta-oe][PATCH 1/3] bpftool: don't build under musl

Khem Raj raj.khem at gmail.com
Tue Dec 4 17:46:16 UTC 2018


uses FTW_SKIP_SUBTREE which is GNU extentions, available in glibc but
not in musl

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-kernel/bpftool/bpftool.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb
index fd0653ab87..dd7eaa2aa6 100644
--- a/meta-oe/recipes-kernel/bpftool/bpftool.bb
+++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb
@@ -14,6 +14,8 @@ EXTRA_OEMAKE = "-C ${S}/tools/bpf/bpftool O=${B} CROSS=${TARGET_PREFIX} CC="${CC
 
 do_configure[depends] += "virtual/kernel:do_shared_workdir"
 
+COMPATIBLE_HOST_libc-musl = 'null'
+
 do_compile() {
     oe_runmake
 }
-- 
2.19.2



More information about the Openembedded-devel mailing list