From 03fb4ddaf6446f57fab4b0a041723b1ed8c6cebb Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 23 Feb 2017 16:26:34 +0100 Subject: rcar-gen3: mesa: Rename mesa bbappend This commit renames mesa bbappend to be able to compatible with different mesa versions. Signed-off-by: Ronan Le Martret Signed-off-by: Takamitsu Honda (cherry picked from commit 4849eff67419793fd79894fe0002278d09f91e07) --- meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend (limited to 'meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend') diff --git a/meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend b/meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend new file mode 100644 index 0000000..e1b7ad2 --- /dev/null +++ b/meta-rcar-gen3/recipes-graphics/mesa/mesa_%.bbappend @@ -0,0 +1,10 @@ +require include/gles-control.inc + +def map_libs(d): + if base_conditional('USE_GLES_WAYLAND', "1", "1", "0", d) == "1": + return "wayland" + + return "dummy" + +MESATARGET := "${@map_libs(d)}" +include mesa-${MESATARGET}.inc -- cgit 1.2.3-korg