QT + EGLFS issue during qt configure

  1. Host PC: Ubuntu 20.04
  2. Target Board : BeagleBone Black (bone-debian-10.3-console-armhf-2020-04-06-1gb)
  3. I’m trying to build qt-everywhere-src-5.12.1 for cross compiling BBB
  4. I have rsync -avz debian@ for sysroot
  5. my configure command is
    sudo qt-everywhere-src-5.12.1/configure -release -eglfs -opengl es2 -device linux-beagleboard-g++ -device-option CROSS_COMPILE=~/BBB/tools/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/BBB/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5bbb -extprefix ~/BBB/qt5bbb -hostprefix ~/BBB/qt5 -v
  6. and my config.summary for
    QPA backends:
    DirectFB … no
    EGLFS … no

What do i do to get EGLFS as …yes