anchor.diff:  USE_FB = "${@bb.utils.contains("DISTRO_FEATURES", "fbdev", "yes", "no", d)}"
   USE_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}"
   
  +MONOLITHIC_LIBMALI = "libMali.so.8.0"
   
   do_install() {
       #Identify the ARCH type
  
positive.code:     if [ "${USE_WL}" = "yes" ]; then
          install -m 0644 ${S}/${PV}/glesHeaders/GBM/gbm.h ${D}${includedir}/
          install -m 0644 ${WORKDIR}/gbm.pc ${D}${libdir}/pkgconfig/gbm.pc
          install -Dm 0644 ${S}/${PV}/${ARCH_PLATFORM_DIR}/wayland/libMali.so.8.0 ${D}${libdir}/wayland/libMali.so.8.0
          if [ "${MALI_BACKEND_DEFAULT}" = "wayland" ]; then
              ln -snf wayland/libMali.so.8.0 ${D}${libdir}/libMali.so.8.0
          fi
      fi
  }
  
negative.code: PACKAGES += "${PN}-x11 ${PN}-fbdev ${PN}-wayland ${PN}-headless"
  
  # This is default/common for all alternatives
  ALTERNATIVE_LINK_NAME[libmali-xlnx] = "${libdir}/${MONOLITHIC_LIBMALI}"
  
  
  # Declare alternatives and corresponding library location
  ALTERNATIVE_${PN}-x11 = "libmali-xlnx"
  ALTERNATIVE_TARGET_libmali-xlnx-x11[libmali-xlnx] = "${libdir}/x11/${MONOLITHIC_LIBMALI}"
  
  ALTERNATIVE_${PN}-fbdev = "libmali-xlnx"
  ALTERNATIVE_TARGET_libmali-xlnx-fbdev[libmali-xlnx] = "${libdir}/fbdev/${MONOLITHIC_LIBMALI}"
  
  ALTERNATIVE_${PN}-wayland = "libmali-xlnx"
  ALTERNATIVE_TARGET_libmali-xlnx-wayland[libmali-xlnx] = "${libdir}/wayland/${MONOLITHIC_LIBMALI}"
  
  ALTERNATIVE_${PN}-headless = "libmali-xlnx"
  ALTERNATIVE_TARGET_libmali-xlnx-headless[libmali-xlnx] = "${libdir}/headless/${MONOLITHIC_LIBMALI}"
  
  # Set priorities according to what we prveiously defined
  ALTERNATIVE_PRIORITY_libmali-xlnx-x11[libmali-xlnx] = "${@bb.utils.contains("MALI_BACKEND_DEFAULT", "x11", "20", "10", d)}"
  