Skip to contentSkip to conversation

libbpf: Depend on virtual/kernel:do_shared_workdir

PATCH New Khem Raj 1 participant 1 message Mar 11, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 libbpf: Depend on virtual/kernel:do_shared_workdir

its checking for .config values which means we need to stage kernel sources before executing do_compile

Cc Matteo Croce <[email protected]>
---
 meta-oe/recipes-kernel/libbpf/libbpf_0.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-kernel/libbpf/libbpf_0.3.bb +2 -0
index 8b548d0b58..57e8376b5e 100644
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://../LICENSE.LPGL-2.1;md5=b370887980db5dd40659b50909238
 
 DEPENDS = "zlib elfutils"
 
+do_compile[depends] += "virtual/kernel:do_shared_workdir"
+
 SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https"
 SRCREV = "051a4009f94d5633a8f734ca4235f0a78ee90469"
 
Signature · 1 line
2.30.2