diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-09-30 09:27:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:22 +0100 |
commit | 7047b873e471fba454e70f4365f9b7f5247c2f3c (patch) | |
tree | 7c07c614c371f85732e2217e74ede62aa2401c93 /meta/recipes-graphics/xorg-driver/xf86-driver-common.inc | |
parent | b887e7fd3f25a8a5d675cbd4470c5bc6c780e0b5 (diff) | |
download | poky-7047b873e471fba454e70f4365f9b7f5247c2f3c.tar.gz |
xorg-driver: rename .inc files and merge some changes from meta-oe
* use INC_PR
* use BPN directly instead of XORG_PN
(From OE-Core rev: 7920cc4b43f139d023b52a71c2407f5295347618)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | } | ||