diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-26 14:57:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:31:16 +0100 |
commit | 2329274164fec6a1e4ac5e30c0b77afa1b8ad4c0 (patch) | |
tree | 189146ff9a0ff5d6620de22980cfacb3206aa1ab /meta | |
parent | 46bfdecf147e565191d882db30903b1eb43f27c5 (diff) | |
download | poky-2329274164fec6a1e4ac5e30c0b77afa1b8ad4c0.tar.gz |
mesa: add PACKAGECONFIG for gbm
gbm is an optional library and some environments (for example, mesa-gl where
there are separate drivers that provide libgbm) may not want to build it.
(From OE-Core rev: bb5265a31587e4a4d4df4d42f343054d6c224e24)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 442479ae62..a4e53516f3 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -24,11 +24,13 @@ REQUIRED_DISTRO_FEATURES = "opengl" | |||
24 | 24 | ||
25 | EXTRA_OECONF = "--enable-shared-glapi" | 25 | EXTRA_OECONF = "--enable-shared-glapi" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "egl gles dri ${MESA_CRYPTO} \ | 27 | PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \ |
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\ |
30 | " | 30 | " |
31 | 31 | ||
32 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" | ||
33 | |||
32 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" | 34 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" |
33 | PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" | 35 | PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" |
34 | PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" | 36 | PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" |
@@ -37,7 +39,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland" | |||
37 | DRIDRIVERS = "swrast" | 39 | DRIDRIVERS = "swrast" |
38 | DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" | 40 | DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" |
39 | DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" | 41 | DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" |
40 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS} --enable-gbm, --disable-dri, dri2proto libdrm" | 42 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm" |
41 | PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto presentproto libxshmfence" | 43 | PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto presentproto libxshmfence" |
42 | 44 | ||
43 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | 45 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" |