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>
+# 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)
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 "