From 23dda5ccaeb6f5ec08d4170e02ed4b276db46d36 Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Thu, 6 Nov 2014 18:22:53 +0000 Subject: mesa: Rename mesa bbappend to use wildcard for minor version Changed as part of update to YP 1.7 --- meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend (limited to 'meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend') diff --git a/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend b/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend new file mode 100644 index 0000000..c7f7f28 --- /dev/null +++ b/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend @@ -0,0 +1,13 @@ +require ../../include/gles-control.inc + +def map_libs(d): + if base_conditional('USE_GLES_WAYLAND', "1", "1", "0", d) == "1": + return "wayland" + + if base_conditional('USE_GLES_X11', "1", "1", "0", d) == "1": + return "x11" + + return "dummy" + +MESATARGET := "${@map_libs(d)}" +include mesa-${MESATARGET}.inc -- cgit 1.2.3-korg