diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 0ce7e4d626..b2c6395a31 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -49,8 +49,8 @@ PACKAGECONFIG_class-target ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland v | |||
49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ | 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)} \ |
50 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ |
51 | " | 51 | " |
52 | PACKAGECONFIG_class-native ?= "gbm dri-native egl" | 52 | PACKAGECONFIG_class-native ?= "gbm dri egl" |
53 | PACKAGECONFIG_class-nativesdk ?= "gbm dri-native egl" | 53 | PACKAGECONFIG_class-nativesdk ?= "gbm dri egl" |
54 | 54 | ||
55 | # "gbm" requires "dri", "opengl" | 55 | # "gbm" requires "dri", "opengl" |
56 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" | 56 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" |
@@ -61,13 +61,12 @@ PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" | |||
61 | PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" | 61 | PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" |
62 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | 62 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" |
63 | 63 | ||
64 | DRIDRIVERS = "swrast" | 64 | DRIDRIVERS_class-native = "swrast" |
65 | DRIDRIVERS_class-nativesdk = "swrast" | ||
65 | DRIDRIVERS_append_x86_class-target = ",radeon,r200,nouveau,i965,i915" | 66 | DRIDRIVERS_append_x86_class-target = ",radeon,r200,nouveau,i965,i915" |
66 | DRIDRIVERS_append_x86-64_class-target = ",radeon,r200,nouveau,i965,i915" | 67 | DRIDRIVERS_append_x86-64_class-target = ",radeon,r200,nouveau,i965,i915" |
67 | # "dri" requires "opengl" | 68 | # "dri" requires "opengl" |
68 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, xorgproto libdrm" | 69 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, xorgproto libdrm" |
69 | # On the native builds we use host's dri drivers | ||
70 | PACKAGECONFIG[dri-native] = "--enable-dri, , xorgproto libdrm" | ||
71 | PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, xorgproto libxshmfence" | 70 | PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, xorgproto libxshmfence" |
72 | 71 | ||
73 | # Vulkan drivers need dri3 enabled | 72 | # Vulkan drivers need dri3 enabled |