From: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com> Upgrade MALI recipe and going forward from Wayland 1.15 the implementation for wayland-egl comes from wayland, EGL providers can leverage that and need not provide a separate implementation.
Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrish...@xilinx.com> Signed-off-by: Jaewon Lee <jaewon....@xilinx.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kall...@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com> --- .../recipes-graphics/libgles/libmali-xlnx.bb | 23 ++++++++-------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb b/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb index 113710e..51347fc 100644 --- a/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb +++ b/meta-xilinx-bsp/recipes-graphics/libgles/libmali-xlnx.bb @@ -1,11 +1,9 @@ DESCRIPTION = "libGLES for ZynqMP with Mali 400" LICENSE = "Proprietary" -LICENSE_FLAGS = "xilinx" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28" +LIC_FILES_CHKSUM = "file://EULA;md5=82e466d0ed92c5a15f568dbe6b31089c" inherit distro_features_check -inherit xilinx-fetch-restricted ANY_OF_DISTRO_FEATURES = "fbdev x11" @@ -16,12 +14,15 @@ FILESEXTRAPATHS_append := " \ ${THISDIR}/r8p0-00rel0: " -# Fetch the MALI 400 binaries from here -# https://www.xilinx.com/member/forms/download/mali-driver-license.html?filename=mali-400-userspace.tar +REPO ?= "git://github.com/Xilinx/mali-userspace-binaries.git;protocol=https" +BRANCH ?= "rel-v2019.2" +SRCREV ?= "90ea8555cddaa7979019fd7eeaeb01a9f1b26ac7" + +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" PV = "r8p0-01rel0" SRC_URI = " \ - https://www.xilinx.com/member/forms/download/mali-driver-license.html?filename=mali-400-userspace.tar;downloadfilename=mali-400-userspace.tar \ + ${REPO};${BRANCHARG} \ file://egl.pc \ file://glesv1_cm.pc \ file://glesv1.pc \ @@ -30,9 +31,6 @@ SRC_URI = " \ file://gbm.pc \ " -SRC_URI[md5sum] = "4fd3456564ef8c818e21432221c9e1b7" -SRC_URI[sha256sum] = "26d473ae77c36104a215710beca55a22a712850dc26547dde950c7398210602c" - COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_zynqmpeg = "zynqmpeg" COMPATIBLE_MACHINE_zynqmpev = "zynqmpev" @@ -40,7 +38,7 @@ COMPATIBLE_MACHINE_zynqmpev = "zynqmpev" PACKAGE_ARCH = "${SOC_FAMILY}" -S = "${WORKDIR}/mali-400" +S = "${WORKDIR}/git" X11RDEPENDS = "libxdamage libxext libx11 libdrm libxfixes" X11DEPENDS = "libxdamage libxext virtual/libx11 libdrm libxfixes" @@ -59,11 +57,6 @@ USE_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" USE_FB = "${@bb.utils.contains("DISTRO_FEATURES", "fbdev", "yes", "no", d)}" USE_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" -do_compile() { - # Extract the MALI binaries into workdir - tar -xf ${WORKDIR}/mali/rel-v2018.3/r8p0-01rel0.tar -C ${S} -} - do_install() { #Identify the ARCH type ${TARGET_PREFIX}gcc --version > ARCH_PLATFORM -- 2.7.4 -- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx