30 lines
976 B
BlitzBasic
30 lines
976 B
BlitzBasic
# Copyright (C) 2012-2016 Freescale Semiconductor
|
|
# Copyright (C) 2012-2014 O.S. Systems Software LTDA.
|
|
# Copyright 2017-2018 NXP
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
require recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
|
|
|
|
SRCBRANCH = "imx_exa_viv6_g2d"
|
|
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 += "file://rc.autohdmi"
|
|
SRCREV = "946e8603ed9a52f36d305405dbb2ab8ff90943d0"
|
|
|
|
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_mx8mq = "xserver-xorg-extension-glx"
|
|
RDEPENDS_${PN}_append = " libvivante-dri-imx"
|
|
|
|
COMPATIBLE_MACHINE = "(mx6|mx8|mx7ulp)"
|