[OE-core] [PATCH] mesa: add PACKAGECONFIG_DISTRO variable for distro specific options

Simon Busch morphis at gravedo.de
Mon Aug 19 16:04:23 UTC 2013


In some cases as distribution just wants to extend the default PACKAGECONFIG instead of
rewriting it completely. Therefor having a PACKAGECONFIG_DISTRO variable which is empty
by default and included in PACKAGECONFIG helps a lot.

Signed-off-by: Simon Busch <morphis at gravedo.de>
---
 meta/recipes-graphics/mesa/mesa.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 447e186..2875158 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -23,9 +23,11 @@ inherit autotools pkgconfig pythonnative gettext
 
 EXTRA_OECONF = "--enable-shared-glapi"
 
+PACKAGECONFIG_DISTRO ??= ""
 PACKAGECONFIG ??= "egl gles dri \
 		${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
 		${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
+		${PACKAGECONFIG_DISTRO} \
 		"
 
 X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
-- 
1.8.1.2




More information about the Openembedded-core mailing list