[oe-commits] Martin Jansa : xorg-driver: add x11 to required DISTRO_FEATURES

git at git.openembedded.org git at git.openembedded.org
Tue Feb 3 14:54:17 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 8764282a06fa5f7571c479a5b3b35c7baaad241f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8764282a06fa5f7571c479a5b3b35c7baaad241f

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Wed Jan 28 15:52:09 2015 +0100

xorg-driver: add x11 to required DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index 17fac8b..7a710dc 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -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



More information about the Openembedded-commits mailing list