diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-driver-common.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-driver-common.inc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc b/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc deleted file mode 100644 index 34d03b2000..0000000000 --- a/meta/recipes-graphics/xorg-driver/xf86-driver-common.inc +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | DESCRIPTION = "X driver" | ||
2 | HOMEPAGE = "http://www.x.org" | ||
3 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
4 | SECTION = "x11/drivers" | ||
5 | LICENSE = "MIT-X" | ||
6 | |||
7 | PE = "1" | ||
8 | PR = "r1" | ||
9 | |||
10 | DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros" | ||
11 | |||
12 | XORG_PN = "${BPN}" | ||
13 | SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2" | ||
14 | |||
15 | S = "${WORKDIR}/${XORG_PN}-${PV}" | ||
16 | |||
17 | FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" | ||
18 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug" | ||
19 | |||
20 | inherit autotools pkgconfig | ||
21 | |||
22 | # AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement | ||
23 | # macro that simply assumes the test succeeds. | ||
24 | do_configure_prepend () { | ||
25 | echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new | ||
26 | sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new | ||
27 | mv configure.ac.new configure.ac | ||
28 | } | ||
29 | |||
30 | do_install_append () { | ||
31 | # driver's la files are not packaged | ||
32 | rm -f ${D}${libdir}/xorg/modules/drivers/*.la | ||
33 | } | ||