summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend
blob: c7f7f287bb351f132f8a4fc64a477ed3a52de263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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