]> code.ossystems Code Review - openembedded-core.git/commitdiff
xorg-driver: add x11 to required DISTRO_FEATURES
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 28 Jan 2015 14:52:09 +0000 (15:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Feb 2015 14:53:42 +0000 (14:53 +0000)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc

index 17fac8b8c0887784632e81ffa6b52477f8ecb2b1..7a710dc5321accfb754415f9e8c4d2d3ce83ccf9 100644 (file)
@@ -16,7 +16,9 @@ S = "${WORKDIR}/${BPN}-${PV}"
 FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
 FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+# depends on virtual/xserver
+REQUIRED_DISTRO_FEATURES = "x11"
 
 # FIXME: We don't want to include the libtool archives (*.la) from modules
 # directory, as they serve no useful purpose. Upstream should fix Makefile.am