]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-video-imxfb: Ensure kernel source is available
authorOtavio Salvador <otavio@ossystems.com.br>
Sun, 15 Feb 2015 23:00:12 +0000 (21:00 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 16 Feb 2015 00:19:23 +0000 (22:19 -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

Change-Id: I19cf8a08b89b0e33870f804b2d4446755b3715f4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb

index 2c36340021c8e27efe0031b5680b4b88d3c3dd46..21a619e676fac8af4c0a1c0501b9b9d97f608a13 100644 (file)
@@ -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 "