blob: 29fcb0e0319d8cb6622fd19fd3bc59a1492a6a5f [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
5
6PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' dispmanx', d)}"
7
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)}"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010
11PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"