xref: /OK3568_Linux_fs/yocto/build/conf/include/display.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDISPLAY_PLATFORM ?= "wayland"
2*4882a593Smuzhiyun# DISPLAY_PLATFORM ?= "x11"
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunDISTRO_FEATURES:append = " ${@d.getVar('DISPLAY_PLATFORM')}"
5*4882a593SmuzhiyunDISTRO_FEATURES:remove = " ${@'x11' if d.getVar('DISPLAY_PLATFORM') == 'wayland' else 'wayland'}"
6*4882a593SmuzhiyunIMAGE_FEATURES:append = " ${@'x11-base' if d.getVar('DISPLAY_PLATFORM') == 'x11' else ''}"
7*4882a593SmuzhiyunIMAGE_INSTALL:append = " ${@'weston weston-init weston-examples' if d.getVar('DISPLAY_PLATFORM') == 'wayland' else 'xf86-video-modesetting xserver-xorg-module-exa'}"
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun# For mali gpu
10*4882a593SmuzhiyunDISTRO_FEATURES:append = " egl"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun# For QT5
13*4882a593Smuzhiyun# IMAGE_INSTALL:append = " qtbase qtbase-examples"
14*4882a593Smuzhiyun# IMAGE_INSTALL:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)}"
15*4882a593Smuzhiyun# PACKAGECONFIG:append:pn-qtbase = " examples"
16