2019.1:
From 2019.1 onwards, please add following lines to <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf.
MALI_BACKEND_DEFAULT = "headless"
2018.3:
This backend is available from 2018.3 release, please add following lines to <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf.
DISTRO_FEATURES_remove = "x11 fbdev"
Benchmark:
To run a benchmark example for any backend (except headless-egl) please add below lines to build/conf/local.conf
IMAGE_INSTALL_append = " glmark2"