Skip to contentSkip to conversation

vboxguestdrivers: make kernel shared directory dependency explicit

PATCH New [email protected] 1 participant 1 message Aug 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vboxguestdrivers: make kernel shared directory dependency explicit

From: Bruce Ashfield <[email protected]>

When fixing the build against 5.19, we added a copy of stdarg.h out of the kernel source. That of course works fine if the kernel-source has already been staged, but is an error otherwise.

We add the explicit dependency to the export_source task, to make sure that the source files are present. We already have a DEPENDS on virutal/kernel in the recipe, so we just tweak when the source will be in place.

---
 .../recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb  | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb +1 -0
index 06dc8a4c8..7eb497ab1 100644
@@ -29,6 +29,7 @@ EXTRA_OEMAKE += "KERN_DIR='${WORKDIR}/${KERNEL_VERSION}/build' KBUILD_VERBOSE=1"
 MAKE_TARGETS = "all"
 
 addtask export_sources after do_patch before do_configure
+do_export_sources[depends] += "virtual/kernel:do_shared_workdir"
 
 do_export_sources() {
     mkdir -p "${S}"
Signature · 1 line
2.25.1