Add a configure-time requirement on the kernel sources.  This is
needed because parts of this program use kernel headers directly.
If the kernel package is restored from sstate, the headers will
not be available unless this dependency is explicit.  This new
behaviour was introduced in OE-core: 6a1ff0e7eac

Signed-off-by: Gary Thomas <[email protected]>
---
 recipes-multimedia/gstreamer/gst-fsl-plugin.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-multimedia/gstreamer/gst-fsl-plugin.inc 
b/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
index b803808..edd8bd5 100644
--- a/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
@@ -13,6 +13,9 @@ DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap"
 DEPENDS_append_mx6sl = " imx-lib"
 DEPENDS_append_mx6sx = " imx-lib"
 
+# Make sure kernel sources are available
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
                     file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 
\
                     
file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
-- 
1.9.1

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to