inherit autotools-brokensep update-rc.d pkgconfig
-DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 imx-gpu-viv pixman"
+DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 imx-gpu-viv virtual/libg2d pixman"
LIC_FILES_CHKSUM = "file://COPYING-MIT;md5=b5e9d9f5c02ea831ab3ecf802bb7c4f3"
-SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \
- file://rc.autohdmi"
+SRC_URI = "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https;branch=${SRCBRANCH} \
+ file://rc.autohdmi"
+
+S = "${WORKDIR}/git/"
INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi"
INITSCRIPT_NAME = "rc.autohdmi"
-I${STAGING_INCDIR}/drm \
-I../../DRI_1.10.4/src"
-S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/"
-
PACKAGES =+ "xserver-xorg-extension-viv-autohdmi"
# FIXME: The Freescale provided Makefile has hardcodec include paths
find ${D}${includedir} -type f -exec chmod 660 {} \;
}
-RDEPENDS_${PN} += "libvivante-dri-mx6 \
+RDEPENDS_${PN} += "libvivante-dri-imx \
xserver-xorg-module-exa \
mesa-driver-swrast \
xserver-xorg-extension-dri \
FILES_xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
-COMPATIBLE_MACHINE = "(mx6)"
+COMPATIBLE_MACHINE = "(mx6|mx7ulp)"
# Copyright (C) 2012-2016 Freescale Semiconductor
# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
+# Copyright 2017 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
require xf86-video-imxfb-vivante.inc
-SRC_URI += "file://Stop-using-Git-to-write-local-version.patch"
-
-SRC_URI[md5sum] = "8acbdddd51c9b1b0fd25137eeabd786d"
-SRC_URI[sha256sum] = "3eed38193e31bb5ba8d2c817bd9b4f6e2fe7540d2cab36de9098cb4f11946a9f"
+SRCBRANCH = "nxp/imx_4.9.11_1.0.0_ga"
+SRCREV = "07ef065dfe09f1c05a1a188c371577faa3677a17"