anchor.diff:                  ${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 \
  
positive.code: 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
  
negative.code:     file://gbm.pc \
      "
  
  COMPATIBLE_MACHINE = "^$"
  COMPATIBLE_MACHINE_zynqmpeg = "zynqmpeg"
  COMPATIBLE_MACHINE_zynqmpev = "zynqmpev"
  