diff options
author | George Nita <george.nita@enea.com> | 2015-10-24 05:11:58 +0200 |
---|---|---|
committer | George Nita <george.nita@enea.com> | 2015-10-24 05:11:58 +0200 |
commit | 57c61fd48b417e790b2e65f359f2de370eb42310 (patch) | |
tree | 6e2f399caf5701874b2f66aa5ecf689ee9adf7f2 /common/recipes-graphics/xorg-driver/xorg-driver-common.inc | |
parent | 385b6e75f1fe9c39c87ff179e6af8be4e80aa65f (diff) | |
parent | 9bdc2090ca821c6b43ec4e69ee9ac6a34dd35ca3 (diff) | |
download | meta-intel-57c61fd48b417e790b2e65f359f2de370eb42310.tar.gz |
Merge remote-tracking branch 'origin/master' into master-enea
Diffstat (limited to 'common/recipes-graphics/xorg-driver/xorg-driver-common.inc')
-rw-r--r-- | common/recipes-graphics/xorg-driver/xorg-driver-common.inc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-graphics/xorg-driver/xorg-driver-common.inc b/common/recipes-graphics/xorg-driver/xorg-driver-common.inc deleted file mode 100644 index 1ed2742d..00000000 --- a/common/recipes-graphics/xorg-driver/xorg-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 = "2" | ||
8 | INC_PR = "r0" | ||
9 | |||
10 | DEPENDS = "virtual/xserver xproto randrproto util-macros" | ||
11 | |||
12 | SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" | ||
13 | |||
14 | S = "${WORKDIR}/${BPN}-${PV}" | ||
15 | |||
16 | FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" | ||
17 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug" | ||
18 | |||
19 | inherit autotools pkgconfig | ||
20 | |||
21 | # AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement | ||
22 | # macro that simply assumes the test succeeds. | ||
23 | do_configure_prepend () { | ||
24 | echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new | ||
25 | sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new | ||
26 | mv configure.ac.new configure.ac | ||
27 | } | ||
28 | |||
29 | # FIXME: We don't want to include the libtool archives (*.la) from modules | ||
30 | # directory, as they serve no useful purpose. Upstream should fix Makefile.am | ||
31 | do_install_append() { | ||
32 | find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- | ||
33 | } | ||