imx-pxp-g2d: new recipe that proves virtual/libg2d for mx93

This is a verbatim copy of the recipe in meta-imx. It is required to
build Wayland based graphical images for ccimx93.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2023-01-09 16:15:00 +01:00
parent b7e651c521
commit f13ccfac75
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# Copyright (C) 2016 Freescale Semiconductor
# Copyright 2017-2022 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "G2D library using i.MX PXP"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011"
PROVIDES += "virtual/libg2d"
PV = "2.1.0+git${SRCPV}"
SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}"
IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https"
SRCBRANCH ?= "imx_2.1"
SRCREV = "178970dc7cdba69b94c2219b5bade46d67adb640"
S = "${WORKDIR}/git"
inherit use-imx-headers
EXTRA_OEMAKE = "PLATFORM=IMX93 INCLUDE='-I${STAGING_INCDIR_IMX}' DEST_DIR=${D}"
do_install() {
oe_runmake install
}
COMPATIBLE_MACHINE = "(mx93-nxp-bsp)"