diff options
| author | Max Krummenacher <max.oss.09@gmail.com> | 2017-03-07 01:26:15 +0100 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-03-09 17:30:07 -0300 |
| commit | bfb1565cc1ee4fc76b8741e9827d0c070867712f (patch) | |
| tree | d93c641d3d5d2cfd9aa5a1a99ff4736a5a6d45fb | |
| parent | 028e37021ca2af8a204dc05d6713cdc528ec1ff6 (diff) | |
| download | meta-freescale-bfb1565cc1ee4fc76b8741e9827d0c070867712f.tar.gz | |
xorg-driver: remove the local copies of xorg-driver-*.inc
recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy
in openembedded-core.
xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi-<ABI>
to RDEPENDS. (and constructs DEPENDS differently but with the same effect)
xf86-video-fbdev must now provide the full relative path for its include file.
fixes:
WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue:
Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so)
but no xorg-abi- dependencies [xorg-driver-abi]
and likely but not tested fixes the same warning for xf86-video-fbdev used
for PPC devices.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb | 2 | ||||
| -rw-r--r-- | recipes-graphics/xorg-driver/xorg-driver-common.inc | 40 | ||||
| -rw-r--r-- | recipes-graphics/xorg-driver/xorg-driver-video.inc | 4 |
3 files changed, 1 insertions, 45 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb b/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb index 038c421db..996a9c7f3 100644 --- a/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb +++ b/recipes-graphics/xorg-driver/xf86-video-fbdev_0.4.2.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | require xorg-driver-video.inc | 1 | require recipes-graphics/xorg-driver/xorg-driver-video.inc |
| 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" |
| 3 | 3 | ||
| 4 | DESCRIPTION = "X.Org X server -- fbdev display driver" | 4 | DESCRIPTION = "X.Org X server -- fbdev display driver" |
diff --git a/recipes-graphics/xorg-driver/xorg-driver-common.inc b/recipes-graphics/xorg-driver/xorg-driver-common.inc deleted file mode 100644 index c0f4a15ad..000000000 --- a/recipes-graphics/xorg-driver/xorg-driver-common.inc +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | DESCRIPTION = "X driver" | ||
| 2 | HOMEPAGE = "http://www.x.org" | ||
| 3 | SECTION = "x11/drivers" | ||
| 4 | LICENSE = "MIT-X" | ||
| 5 | INC_PR = "r15" | ||
| 6 | |||
| 7 | DEPENDS = "randrproto virtual/xserver-xf86 xproto" | ||
| 8 | |||
| 9 | SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" | ||
| 10 | |||
| 11 | S = "${WORKDIR}/${BPN}-${PV}" | ||
| 12 | |||
| 13 | FILES_${PN} += " ${libdir}/xorg/modules" | ||
| 14 | FILES_${PN}-dbg += "${libdir}/xorg/modules/*/.debug" | ||
| 15 | |||
| 16 | inherit autotools pkgconfig | ||
| 17 | |||
| 18 | TARGET_CPPFLAGS += "-I${STAGING_DIR_HOST}/usr/include/xorg" | ||
| 19 | |||
| 20 | # Another sucky behavor from Xorg configure scripts. | ||
| 21 | # They use AC_CHECK_FILE to check for DRI headers. Yuck! | ||
| 22 | # Of course this will blow up when cross compiling. | ||
| 23 | |||
| 24 | do_configure_prepend() { | ||
| 25 | incdir=${layout_includedir}/xorg | ||
| 26 | for f in dri.h sarea.h dristruct.h exa.h damage.h xf86Module.h; do | ||
| 27 | path="$incdir/$f" | ||
| 28 | if [ -f "${STAGING_DIR_HOST}/$path" ]; then | ||
| 29 | p=`echo "$path" | sed 'y%*+%pp%;s%[^_[:alnum:]]%_%g'` | ||
| 30 | eval "export ac_cv_file_$p=yes" | ||
| 31 | fi | ||
| 32 | done | ||
| 33 | } | ||
| 34 | |||
| 35 | # FIXME: We don't want to include the libtool archives (*.la) from modules | ||
| 36 | # directory, as they serve no useful purpose. Upstream should fix Makefile.am | ||
| 37 | do_install_append() { | ||
| 38 | find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- | ||
| 39 | } | ||
| 40 | |||
diff --git a/recipes-graphics/xorg-driver/xorg-driver-video.inc b/recipes-graphics/xorg-driver/xorg-driver-video.inc deleted file mode 100644 index bce8c9a7f..000000000 --- a/recipes-graphics/xorg-driver/xorg-driver-video.inc +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | include xorg-driver-common.inc | ||
| 2 | |||
| 3 | DEPENDS = "randrproto renderproto videoproto xextproto fontsproto xproto" | ||
| 4 | |||
