diff options
Diffstat (limited to 'recipes-graphics/xorg-driver/xf86-dri-vivante_3.0.35-4.0.0.bb')
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-dri-vivante_3.0.35-4.0.0.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_3.0.35-4.0.0.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_3.0.35-4.0.0.bb new file mode 100644 index 0000000..c116d57 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_3.0.35-4.0.0.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2013 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | SECTION = "x11/base" | ||
7 | DEPENDS = "virtual/xserver xf86-video-imxfb-vivante" | ||
8 | LIC_FILES_CHKSUM = "file://src/dri.h;enline=27;md5=1d0d59e1dc96f5197ea3a8b101bf1fcc" | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ | ||
11 | file://fix-libdrm-link.patch" | ||
12 | SRC_URI[md5sum] = "5c5b5be029b077346610518bb729c012" | ||
13 | SRC_URI[sha256sum] = "c67249e68d4233eb1d0a5f337ded8f121dc61fa26fca102a00f93acc3e37ea0f" | ||
14 | |||
15 | PE = "1" | ||
16 | PR = "r0" | ||
17 | |||
18 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/DRI_1.10.4" | ||
19 | |||
20 | inherit fsl-eula-unpack autotools pkgconfig | ||
21 | |||
22 | EXTRA_OECONF_armv7a = " --enable-neon " | ||
23 | CFLAGS += " -I${STAGING_INCDIR}/xorg -DXSERVER_LIBPCIACCESS" | ||
24 | |||
25 | do_install_append () { | ||
26 | # Install header files | ||
27 | install -d ${D}${includedir}/xorg | ||
28 | cp -axr ${S}/src/*.h ${D}${includedir}/xorg | ||
29 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
30 | |||
31 | # FIXME: don't install libtool (*.la) file | ||
32 | rm ${D}${libdir}/xorg/modules/extensions/*.la | ||
33 | |||
34 | # FIXME: The Xorg driver has a hardcoded library name | ||
35 | mv ${D}${libdir}/xorg/modules/extensions/libdri.so \ | ||
36 | ${D}${libdir}/xorg/modules/extensions/libvivante_dri.so | ||
37 | } | ||
38 | |||
39 | FILES_${PN}-dev += "${includedir}/xorg/*.h" | ||
40 | FILES_${PN} += " ${libdir}/xorg/modules/extensions/*.so" | ||
41 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/extensions/.debug" | ||
42 | |||
43 | RDEPENDS_${PN} += "xserver-xorg-extension-glx \ | ||
44 | xserver-xorg-extension-dri \ | ||
45 | xserver-xorg-extension-dri2" | ||
46 | |||
47 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
48 | COMPATIBLE_MACHINE = "(mx6)" | ||