]> code.ossystems Code Review - meta-freescale.git/commitdiff
gst-fsl-plugin: Ensure kernel source is available
authorGary Thomas <gary@mlbassoc.com>
Wed, 11 Feb 2015 11:30:13 +0000 (04:30 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Feb 2015 22:28:35 +0000 (20:28 -0200)
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 <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/gstreamer/gst-fsl-plugin.inc

index b803808f2407ff784944c479adc2a69a77bfece7..edd8bd56ecbd352e2b5561c2c399954740ff4125 100644 (file)
@@ -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"