From d2e903b5d60c72e4afe79fd317f321314892d19a Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Wed, 10 Aug 2022 12:32:54 -0400 Subject: [PATCH] vboxguestdrivers: make kernel shared directory dependency explicit 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 Signed-off-by: Khem Raj --- .../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 06dc8a4c88..7eb497ab11 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}"