xf86-video-imx-vivante: update recipe to 6.2.4.p1.2

This includes the recipe renaming.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6029
This commit is contained in:
Hector Palacios 2018-06-15 10:30:10 +02:00
parent 7219c08bc7
commit 4768643b6e
5 changed files with 25 additions and 12 deletions

View File

@ -2,7 +2,7 @@
include conf/machine/include/digi-defaults.inc include conf/machine/include/digi-defaults.inc
XSERVER_DRIVER = "xf86-video-fbdev" XSERVER_DRIVER = "xf86-video-fbdev"
XSERVER_DRIVER_imxgpu2d = "xf86-video-imxfb-vivante" XSERVER_DRIVER_imxgpu2d = "xf86-video-imx-vivante"
XSERVER_DRIVER_append_mx8 = " xf86-video-modesetting" XSERVER_DRIVER_append_mx8 = " xf86-video-modesetting"
XSERVER = "xserver-xorg \ XSERVER = "xserver-xorg \
xf86-input-evdev \ xf86-input-evdev \

View File

@ -0,0 +1,8 @@
# Patch for MX8 DRM_VIV
RDEPENDS_${PN}_append_mx8 = " kernel-module-vivante"
DEPENDS_remove = "virtual/libgal-x11"
DEPENDS_append = " libgal-imx"
# Use lflags defined in the EXA makefile
EXTRA_OEMAKE_remove = "LFLAGS="${LDFLAGS}""

View File

@ -1,24 +1,29 @@
# Copyright (C) 2012-2016 Freescale Semiconductor # Copyright (C) 2012-2016 Freescale Semiconductor
# Copyright (C) 2012-2014 O.S. Systems Software LTDA. # Copyright (C) 2012-2014 O.S. Systems Software LTDA.
# Copyright 2017 NXP # Copyright 2017-2018 NXP
# Released under the MIT license (see COPYING.MIT for the terms) # Released under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
require recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc require recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
NXP_REPO_MIRROR ?= "nxp/" SRCBRANCH = "imx_exa_viv6_g2d"
SRCBRANCH = "${NXP_REPO_MIRROR}imx_4.9.11_1.0.0_ga"
S = "${WORKDIR}/git/"
XF86_VIDEO_IMX_VIVANTE_SRC ?= "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https" XF86_VIDEO_IMX_VIVANTE_SRC ?= "git://source.codeaurora.org/external/imx/xf86-video-imx-vivante.git;protocol=https"
SRC_URI = "${XF86_VIDEO_IMX_VIVANTE_SRC};branch=${SRCBRANCH}" SRC_URI = "${XF86_VIDEO_IMX_VIVANTE_SRC};branch=${SRCBRANCH}"
SRC_URI +="file://rc.autohdmi" SRC_URI += "file://rc.autohdmi"
SRCREV = "07ef065dfe09f1c05a1a188c371577faa3677a17" SRCREV = "946e8603ed9a52f36d305405dbb2ab8ff90943d0"
DEPENDS += "virtual/libg2d" S = "${WORKDIR}/git/"
DEPENDS += "virtual/libg2d pixman"
EXTRA_OEMAKE += "SDKTARGETSYSROOT=${STAGING_DIR_HOST}"
TARGET_CC_ARCH += "${LDFLAGS}"
EXTRA_OEMAKE_remove = "prefix=${D}/usr"
EXTRA_OEMAKE += "prefix=${exec_prefix}"
RDEPENDS_${PN}_remove = "libvivante-dri-mx6" RDEPENDS_${PN}_remove = "libvivante-dri-mx6"
RDEPENDS_${PN}_remove_mx8mq = "xserver-xorg-extension-glx"
RDEPENDS_${PN}_append = " libvivante-dri-imx" RDEPENDS_${PN}_append = " libvivante-dri-imx"
COMPATIBLE_MACHINE = "(mx6|mx8|mx7ulp)" COMPATIBLE_MACHINE = "(mx6|mx8|mx7ulp)"