blob: 58b7b4713d0b7ce9c165b3c3b00cd82e7519f4c1 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001PACKAGECONFIG_GL_rpi = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gl', \
Andrew Geissler1c349142019-02-19 19:49:56 -06002 bb.utils.contains('DISTRO_FEATURES', 'opengl', 'eglfs gles2', \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003 '', d), d)}"
Andrew Geissler1c349142019-02-19 19:49:56 -06004PACKAGECONFIG_GL_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', ' gbm kms', '', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005PACKAGECONFIG_FONTS_rpi = "fontconfig"
6PACKAGECONFIG_append_rpi = " libinput examples tslib xkb xkbcommon-evdev"
7PACKAGECONFIG_remove_rpi = "tests"
8
Andrew Geissler1c349142019-02-19 19:49:56 -06009OE_QTBASE_EGLFS_DEVICE_INTEGRATION_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'eglfs_brcm', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010
11do_configure_prepend_rpi() {
12 # Add the appropriate EGLFS_DEVICE_INTEGRATION
13 if [ "${@d.getVar('OE_QTBASE_EGLFS_DEVICE_INTEGRATION')}" != "" ]; then
Andrew Geissler1c349142019-02-19 19:49:56 -060014 echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" >> ${S}/mkspecs/oe-device-extra.pri
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 fi
16}
17RDEPENDS_${PN}_append_rpi = " userland"