[meta-freescale] [meta-fsl-arm][PATCH v2 1/2] fsl-alsa-plugin: Fix possible build error

Gary Thomas gary at mlbassoc.com
Wed Feb 11 03:30:12 PST 2015


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 at mlbassoc.com>
---
 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



More information about the meta-freescale mailing list