diff options
author | Adrian Alonso <aalonso00@gmail.com> | 2012-11-08 21:43:57 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-11-23 09:23:27 -0200 |
commit | 29e97bcf1a2df4e397ae7433d0cf1665bdce680a (patch) | |
tree | 4ce3be218fe6b2543c92ad6140dda0053c096212 | |
parent | a055e74dddb20ca4339f12982b447c52f0fe864a (diff) | |
download | meta-fsl-arm-29e97bcf1a2df4e397ae7433d0cf1665bdce680a.tar.gz |
xf86-video-imxfb-vivante: Add Vivante Xorg driver for iMX SoCs
Change-Id: I2b9a107b1fe6d50f3f0aa47a0df3115d7a8bc650
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch | 29 | ||||
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb | 30 |
2 files changed, 59 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch new file mode 100644 index 0000000..4354ae4 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Makefile.am-remove-prefixed-include-path.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 230acf40ab9ed8ab5f291ff6644160b3f3859d69 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <aalonso00@gmail.com> | ||
3 | Date: Fri, 15 Jun 2012 00:46:28 -0500 | ||
4 | Subject: [PATCH] Makefile.am remove prefixed include path | ||
5 | |||
6 | * Remove prefixed include path, use ${STAGING_INCDIR} | ||
7 | to locate drm headers. | ||
8 | |||
9 | Signed-off-by: Adrian Alonso <aalonso00@gmail.com> | ||
10 | --- | ||
11 | src/Makefile.am | 2 +- | ||
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
13 | |||
14 | diff --git a/src/Makefile.am b/src/Makefile.am | ||
15 | index 820278b..4acdf6a 100644 | ||
16 | --- a/src/Makefile.am | ||
17 | +++ b/src/Makefile.am | ||
18 | @@ -50,7 +50,7 @@ VIVSRC_CFLAGS = \ | ||
19 | -I./vivante_util \ | ||
20 | -I./vivante_exa | ||
21 | |||
22 | -AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) -I/usr/include/drm | ||
23 | +AM_CFLAGS = @XORG_CFLAGS@ $(VIVSRC_CFLAGS) ${CFLAGS} | ||
24 | vivante_drv_la_LTLIBRARIES = vivante_drv.la | ||
25 | vivante_drv_la_LDFLAGS = -module -avoid-version | ||
26 | vivante_drv_ladir = @moduledir@/drivers | ||
27 | -- | ||
28 | 1.7.7.6 | ||
29 | |||
diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb new file mode 100644 index 0000000..e319199 --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | # Copyright (C) 2012 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | ||
5 | |||
6 | DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a" | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ | ||
11 | file://Makefile.am-remove-prefixed-include-path.patch" | ||
12 | SRC_URI[md5sum] = "1948119717aa01bed1f630be9ee7a708" | ||
13 | SRC_URI[sha256sum] = "5b3be4b426d2d2803554df9e4d8919d1f9d17659c3153c71c6529f43c37e6ed1" | ||
14 | |||
15 | EXTRA_OECONF_armv7a = " --enable-neon --disable-static" | ||
16 | CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" | ||
17 | LDFLAGS += "-lm -ldl -lGAL-x11" | ||
18 | |||
19 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}" | ||
20 | |||
21 | do_install_append () { | ||
22 | install -d ${D}${includedir} | ||
23 | cp -axr ${S}/src/vivante_gal/vivante_priv.h ${D}${includedir} | ||
24 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
25 | } | ||
26 | |||
27 | RDEPENDS_${PN} += "xserver-xorg-module-exa" | ||
28 | |||
29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
30 | COMPATIBLE_MACHINE = "(mx6)" | ||