Merge "mesa: Remove egl and gles only for raspberrypi machine"

This commit is contained in:
Andrei Gherzan 2013-11-12 16:11:02 +00:00 committed by Gherzan Code Review
commit fef11f98cf

View File

@ -1,12 +1,14 @@
PRINC := "${@int(PRINC) + 1}"
PRINC := "${@int(PRINC) + 2}"
#
# FIXME
# We may a way to disable EGL and GL ES2, these are provided by userland package
# We need a way to disable EGL and GL ES2, these are provided by userland package
#
python __anonymous () {
import re
machine = d.getVar('MACHINE', True)
if machine == 'raspberrypi':
# Remove egl and gles2 configure options
extra_oeconf = d.getVar('EXTRA_OECONF', True).split()
take_out = ['--enable-egl', '--enable-gles2', '--enable-gles1']