]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa-gl: Set PACKAGECONFIG for target
authorKhem Raj <raj.khem@gmail.com>
Mon, 25 Feb 2019 23:17:42 +0000 (15:17 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Feb 2019 13:20:21 +0000 (13:20 +0000)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb

index 73267eb4f0d1f55187335018a28cb4c6327b961a..d4b1c1c454b91d3e60ce0edcc8662ed98fca5fd5 100644 (file)
@@ -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)}"