[PATCH] vboxguestdrivers: make kernel shared directory dependency explicit


Bruce Ashfield
 

From: Bruce Ashfield <bruce.ashfield@...>

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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@...>
---
.../recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb | 1 +
1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb
index 06dc8a4c8..7eb497ab1 100644
--- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb
+++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_6.1.36.bb
@@ -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}"
--
2.25.1

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.