[meta-freescale] [meta-fsl-arm][PATCH 2/5] xf86-video-imxfb: Ensure kernel source is available

Otavio Salvador otavio at ossystems.com.br
Sun Feb 15 16:19:47 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

Change-Id: I19cf8a08b89b0e33870f804b2d4446755b3715f4
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
 recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
index 2c36340..21a619e 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb
@@ -1,3 +1,4 @@
+# Copyright (C) 2011-2015 O.S. Systems Software LTDA.
 # Copyright (C) 2011, 2012 Freescale
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -21,6 +22,9 @@ SRC_URI[sha256sum] = "d7d85e9f13c6dd58addab89847f3a8a67f6382a54135c7978c9a95368a
 
 inherit autotools pkgconfig
 
+# Make sure kernel sources are available
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
 FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
 FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
 EXTRA_OECONF_armv7a = " --enable-neon "
-- 
2.1.4



More information about the meta-freescale mailing list