diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-01-08 15:36:47 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-01-08 16:10:16 -0300 |
commit | bcebf20cdfff5997eb71c1a3611785f0abbe54c1 (patch) | |
tree | b49a1a908b78f4073fa1483ea3d19614b70a1b88 /recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb | |
parent | d8f0260ba87e49a942a211f24d07e81da624a135 (diff) | |
download | meta-freescale-bcebf20cdfff5997eb71c1a3611785f0abbe54c1.tar.gz |
xf86-video-imx-vivante: fix compile by updating to 6.4.0
Using the current HEAD fixes the following compile error:
| vivante_gal/vivante_gal_surface.c:493:38: error: 'gcvPOOL_CONTIGUOUS' undeclared (first use in this function); did you mean 'gcvSURF_CONTIGUOUS'?
| 493 | surf->mVideoNode.mPool = gcvPOOL_CONTIGUOUS;
| | ^~~~~~~~~~~~~~~~~~
meta-fsl-bsp-release sets version to 6.4.0.p0.0 for this git hash,
follow that here.
Changelog:
MGS-4783 [#ccc] Integrate EXA patches for 6.4.0 beta
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb')
-rw-r--r-- | recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb new file mode 100644 index 00000000..9268b11e --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb | |||
@@ -0,0 +1,65 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2018 O.S. Systems Software LTDA. | ||
3 | # Copyright 2017-2018 NXP | ||
4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
5 | |||
6 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | ||
7 | |||
8 | PE = "3" | ||
9 | |||
10 | inherit autotools-brokensep update-rc.d pkgconfig | ||
11 | |||
12 | DEPENDS += "virtual/xserver virtual/libx11 libgal-imx imx-gpu-viv virtual/libg2d pixman" | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://COPYING-MIT;md5=b5e9d9f5c02ea831ab3ecf802bb7c4f3" | ||
15 | |||
16 | SRCREV = "c828e8a7c38743e960967e7bb78c134cec31c102" | ||
17 | SRCBRANCH = "imx_exa_viv6_g2d" | ||
18 | SRC_URI = "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https;branch=${SRCBRANCH} \ | ||
19 | file://rc.autohdmi" | ||
20 | |||
21 | S = "${WORKDIR}/git/" | ||
22 | |||
23 | INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi" | ||
24 | INITSCRIPT_NAME = "rc.autohdmi" | ||
25 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." | ||
26 | |||
27 | EXTRA_OEMAKE += "prefix=${exec_prefix} \ | ||
28 | sysroot=${STAGING_DIR_TARGET} \ | ||
29 | SDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
30 | BUSID_HAS_NUMBER=1 \ | ||
31 | BUILD_IN_YOCTO=1 \ | ||
32 | XSERVER_GREATER_THAN_13=1" | ||
33 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
34 | |||
35 | PACKAGES =+ "xserver-xorg-extension-viv-autohdmi" | ||
36 | |||
37 | do_install_append () { | ||
38 | install -d ${D}${includedir} | ||
39 | cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} | ||
40 | cp -axr ${S}/EXA/src/vivante_gal/vivante_gal.h ${D}${includedir} | ||
41 | |||
42 | install -d ${D}/${sysconfdir}/init.d | ||
43 | install -m 755 ${WORKDIR}/rc.autohdmi ${D}/${sysconfdir}/init.d/rc.autohdmi | ||
44 | |||
45 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
46 | } | ||
47 | |||
48 | RDEPENDS_${PN} += "libvivante-dri-imx \ | ||
49 | xserver-xorg-module-exa \ | ||
50 | mesa-driver-swrast \ | ||
51 | xserver-xorg-extension-dri \ | ||
52 | xserver-xorg-extension-dri2 \ | ||
53 | xserver-xorg-extension-glx" | ||
54 | |||
55 | REALSOLIBS := "${SOLIBS}" | ||
56 | SOLIBS = "${SOLIBSDEV}" | ||
57 | |||
58 | FILES_${PN} = "${libdir}/*/*/*/vivante_drv${SOLIBS}" | ||
59 | FILES_${PN}-dev = "${includedir} /usr/src ${libdir}/libfsl_x11_ext${SOLIBSDEV}" | ||
60 | FILES_${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/.debug/autohdmi" | ||
61 | |||
62 | FILES_xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" | ||
63 | |||
64 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
65 | COMPATIBLE_MACHINE = "(mx6|mx7ulp)" | ||