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 Yocto rev 46cdaf1c7bc.

Signed-off-by: Gary Thomas <[email protected]>
---
 recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb 
b/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb
index 556884d..af55270 100644
--- a/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb
+++ b/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb
@@ -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
-- 
1.9.1

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

Reply via email to