aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-10-22 10:37:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-24 12:50:47 +0100
commit662189deb638a538f814621f6ef62871d6e4084b (patch)
treed7f02ed24a06b9fef412b832c9275a7637be842a /meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
parent553d9dbe0e426a4f933bef291cabfea7ae80f51a (diff)
downloadopenembedded-core-contrib-662189deb638a538f814621f6ef62871d6e4084b.tar.gz
xorg-driver: add xserver driver ABI dependencies
At build time extract the xserver driver ABI versions that we're building against and add RDEPENDs on them, so the driver isn't used against an xserver with a different ABI (which won't work). (From OE-Core rev: a17faa832798f5c76e344d2662ffdb470974bfe3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xorg-driver-input.inc')
-rw-r--r--meta/recipes-graphics/xorg-driver/xorg-driver-input.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
index bf4ca6cb77..a544d71bf2 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-input.inc
@@ -2,5 +2,9 @@ include xorg-driver-common.inc
DEPENDS += "inputproto kbproto "
+python populate_packages_prepend() {
+ add_abi_depends(d, "input")
+}
+
FILES_${PN} += " ${libdir}/xorg/modules/input/*.so"
FILES_${PN}-dbg += " ${libdir}/xorg/modules/input/.debug"