diff options
author | Adrian Alonso <aalonso00@gmail.com> | 2012-11-08 21:43:58 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-11-23 09:23:27 -0200 |
commit | a055e74dddb20ca4339f12982b447c52f0fe864a (patch) | |
tree | 5f45a8ae998ab197a8f5238bb2e4efa689174ce8 | |
parent | 7c3ed85b91cd42753ac94734e938f3fb98699701 (diff) | |
download | meta-fsl-arm-a055e74dddb20ca4339f12982b447c52f0fe864a.tar.gz |
xf86-dri-vivante: Add Vivante DRI driver for Xorg
Change-Id: I07eeb3ce0960021a12c04a38447c379318821f75
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb new file mode 100644 index 0000000..3f1255e --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_12.09.01.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | # Copyright (C) 2012 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | SECTION = "x11/base" | ||
6 | DEPENDS = "virtual/libx11 util-macros xf86-video-vivante" | ||
7 | LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=1d0d59e1dc96f5197ea3a8b101bf1fcc" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/dri-xorg-graphic-imx-viv-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "6a3d8130945a24294d34b61cd59e5d59" | ||
11 | SRC_URI[sha256sum] = "437187360fe76fbee5ad70b1a661d3196568cc8c28a457170494effef859d054" | ||
12 | |||
13 | S = "${WORKDIR}/dri-xorg-graphic-imx-viv-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | EXTRA_OECONF_armv7a = " --enable-neon " | ||
18 | CFLAGS += " -I${STAGING_INCDIR}/xorg" | ||
19 | |||
20 | do_install_append () { | ||
21 | # Install header files | ||
22 | install -d ${D}${includedir}/xorg | ||
23 | cp -axr ${S}/src/*.h ${D}${includedir}/xorg | ||
24 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
25 | # don't install libtool (*.la) archive not usefull, fix Makefile.am | ||
26 | find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- | ||
27 | } | ||
28 | |||
29 | FILES_${PN}-dev += "${includedir}/xorg/*.h" | ||
30 | FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so" | ||
31 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug" | ||
32 | |||
33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
34 | COMPATIBLE_MACHINE = "(mx6)" | ||