From: Khem Raj Date: Mon, 25 Feb 2019 23:17:42 +0000 (-0800) Subject: mesa-gl: Set PACKAGECONFIG for target X-Git-Tag: uninative-2.4~168 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e6e6254eb8bee12f830b3848b8e96aafcf1ca918;p=openembedded-core.git mesa-gl: Set PACKAGECONFIG for target mesa.inc uses PACKAGECONFIG_class-target override to setup default packageconfigs, which means that when we build mesa-gl for target then it does no honor the ??= setting we have in mesa-gl recipe, and ends up compiling egl, gles2 as well, which is not intended. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb b/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb index 73267eb4f0..d4b1c1c454 100644 --- a/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb +++ b/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb @@ -7,3 +7,4 @@ PROVIDES = "virtual/libgl virtual/mesa" S = "${WORKDIR}/mesa-${PV}" PACKAGECONFIG ??= "opengl dri ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"