]> code.ossystems Code Review - meta-freescale.git/commitdiff
fsl-alsa-plugin: Ensure kernel source is available
authorGary Thomas <gary@mlbassoc.com>
Wed, 11 Feb 2015 11:30:12 +0000 (04:30 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 12 Feb 2015 22:28:06 +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/alsa/fsl-alsa-plugins_1.0.25.bb

index 556884dea5b35adddd57778817f554d378938d5c..af552701816c35ebb7f0cdbef63a249a11c07624 100644 (file)
@@ -6,6 +6,9 @@ LICENSE = "GPLv2"
 SECTION = "multimedia"
 DEPENDS = "alsa-lib virtual/kernel"
 
+# Make sure kernel sources are available
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 inherit autotools pkgconfig