From 69e62e82122c5bed4b21fcc7607b553990b50cb5 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 26 May 2013 15:05:25 -0300 Subject: xf86-video-imxfb-vivante: Update to 3.0.35-4.0.0 Change-Id: I5238f70533ba56d105fcad60e19f43832628cf63 Signed-off-by: Otavio Salvador --- .../xorg-driver/xf86-video-imxfb-vivante_1.1.0.bb | 54 ---------------------- .../xf86-video-imxfb-vivante_3.0.35-4.0.0.bb | 54 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_1.1.0.bb create mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.0.35-4.0.0.bb (limited to 'recipes-graphics') diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_1.1.0.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_1.1.0.bb deleted file mode 100644 index 36f56f2..0000000 --- a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_1.1.0.bb +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright (C) 2012-2013 Freescale Semiconductor -# Copyright (C) 2012-2013 O.S. Systems Software LTDA. -# Released under the MIT license (see COPYING.MIT for the terms) - -require recipes-graphics/xorg-driver/xorg-driver-video.inc - -PE = "3" -PR = "${INC_PR}.3" - -DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 gpu-viv-bin-mx6q" - -LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a" - -SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ - file://Makefile.am-remove-prefixed-include-path.patch" -SRC_URI[md5sum] = "d872365c046738628a7016343ffdb79a" -SRC_URI[sha256sum] = "d53216d5f9e3f7803983ac1577d83985dfda33145e4711300f4ad5cbbe28e32d" - -EXTRA_OECONF_armv7a = " --enable-neon --disable-static" -CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" -LDFLAGS += " -lGAL" - -S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/EXA/" - -do_compile_prepend () { - # FIXME: Allow build without depending on xserver-xorg - # as this is the is the only source dependency and - # by default Xorg does not install this header anyway. - cp ${S}/../DRI*/src/dri.h ${S}/../DRI*/src/sarea.h ${S}/src/vivante_fbdev/ -} - -do_install_append () { - install -d ${D}${includedir} - cp -axr ${S}/src/vivante_gal/vivante_priv.h ${D}${includedir} - cp -axr ${S}/src/vivante_gal/vivante_gal.h ${D}${includedir} - find ${D}${includedir} -type f -exec chmod 660 {} \; -} - -RDEPENDS_${PN} += "libvivante-dri-mx6 \ - xserver-xorg-module-exa \ - mesa-driver-swrast \ - xf86-dri-vivante" - -# Add the ABI dependency at package generation time, as otherwise bitbake will -# attempt to find a provider for it (and fail) when it does the parse. -# -# This version *must* be kept correct. -python populate_packages_prepend() { - pn = d.getVar("PN", True) - d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-11") -} - -PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(mx6)" diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.0.35-4.0.0.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.0.35-4.0.0.bb new file mode 100644 index 0000000..dbaf2ab --- /dev/null +++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.0.35-4.0.0.bb @@ -0,0 +1,54 @@ +# Copyright (C) 2012-2013 Freescale Semiconductor +# Copyright (C) 2012-2013 O.S. Systems Software LTDA. +# Released under the MIT license (see COPYING.MIT for the terms) + +require recipes-graphics/xorg-driver/xorg-driver-video.inc + +PE = "3" +PR = "${INC_PR}.3" + +DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 gpu-viv-bin-mx6q" + +LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=641ac6e6d013833e36290797f4d7089c" + +SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ + file://Makefile.am-remove-prefixed-include-path.patch" +SRC_URI[md5sum] = "5c5b5be029b077346610518bb729c012" +SRC_URI[sha256sum] = "c67249e68d4233eb1d0a5f337ded8f121dc61fa26fca102a00f93acc3e37ea0f" + +EXTRA_OECONF_armv7a = " --enable-neon --disable-static" +CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" +LDFLAGS += " -lGAL" + +S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/EXA/" + +do_compile_prepend () { + # FIXME: Allow build without depending on xserver-xorg + # as this is the is the only source dependency and + # by default Xorg does not install this header anyway. + cp ${S}/../DRI*/src/dri.h ${S}/../DRI*/src/sarea.h ${S}/src/vivante_fbdev/ +} + +do_install_append () { + install -d ${D}${includedir} + cp -axr ${S}/src/vivante_gal/vivante_priv.h ${D}${includedir} + cp -axr ${S}/src/vivante_gal/vivante_gal.h ${D}${includedir} + find ${D}${includedir} -type f -exec chmod 660 {} \; +} + +RDEPENDS_${PN} += "libvivante-dri-mx6 \ + xserver-xorg-module-exa \ + mesa-driver-swrast \ + xf86-dri-vivante" + +# Add the ABI dependency at package generation time, as otherwise bitbake will +# attempt to find a provider for it (and fail) when it does the parse. +# +# This version *must* be kept correct. +python populate_packages_prepend() { + pn = d.getVar("PN", True) + d.appendVar("RDEPENDS_" + pn, " xorg-abi-video-11") +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6)" -- cgit v1.2.3-54-g00ecf