mesa: clean up PACKAGECONFIG

Use machine overrides instead of machine features.

(From OE-Core rev: 821a38d71d7e15f5871f44a3ee08268d05ef610e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2012-08-20 11:25:18 +01:00 committed by Richard Purdie
parent 1e59ae05c1
commit 3b05a9beff
1 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,7 @@ SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
INC_PR = "r2"
INC_PR = "r3"
PE = "2"
DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
@ -29,9 +29,8 @@ EXTRA_OECONF = "--enable-glu \
--disable-glut \
--enable-shared-glapi"
PACKAGECONFIG ??= "${@base_contains('MACHINE_FEATURES', 'x86', 'gles', '', d)} \
${@base_contains('MACHINE_FEATURES', 'x86', 'egl', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
PACKAGECONFIG_append_x86 = " gles egl"
X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"