blob: bfbce49f1ff01b3133ffbf06161c296ac0d77ee3 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001EXTRA_OECONF_append_rpi = " CPPFLAGS='-I${STAGING_INCDIR}/interface/vcos/pthreads \
2 -I${STAGING_INCDIR}/interface/vmcs_host/linux'"
3
4# if using bcm driver enable dispmanx not when using VC4 driver
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08005PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' dispmanx', d)}"
Andrew Geissler062316f2020-05-15 14:19:14 -05006DEPENDS_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08007
Brad Bishop1b9ee292020-01-16 09:06:00 -05008PACKAGECONFIG_GL_VC4GRAPHICS = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
9PACKAGECONFIG_GL_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '${PACKAGECONFIG_GL_VC4GRAPHICS}', 'egl gles2', d)}"