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

Submitted by Khem Raj on Dec. 4, 2018, 5:46 p.m. | Patch ID: 156896

Details

Message ID 20181204174618.6271-1-raj.khem@gmail.com
State Accepted
Commit deea62edde1bd9d72d49c508cb0ebb4ec5f2c3f5
Headers show

Commit Message

Khem Raj Dec. 4, 2018, 5:46 p.m.
uses FTW_SKIP_SUBTREE which is GNU extentions, available in glibc but
not in musl

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

Patch hide | download patch | download mbox

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
 }