mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
gbm: Fix "configure: error: gbm requires --enable-dri"
When building mesa without X11 enabled, and disabling dri package config, the enforced "--enable-gbm" fails building mesa, because this feature requires "--enable-dri", too - which has been disabled by package config. Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm, which makes explicit --disable-gbm in case of --disable-dri redundant. (From OE-Core rev: fee4a22c6919814bd541ab2cca9489e5ce3596b4) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
17733cc607
commit
cf972f9abf
@@ -37,11 +37,9 @@ PACKAGECONFIG[wayland] = ",,wayland"
|
||||
DRIDRIVERS = "swrast"
|
||||
DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
|
||||
DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915"
|
||||
PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm"
|
||||
PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS} --enable-gbm, --disable-dri, dri2proto libdrm"
|
||||
PACKAGECONFIG[dri3] = "--enable-dri3, --disable-dri3, dri3proto presentproto libxshmfence"
|
||||
|
||||
EXTRA_OECONF += "--enable-gbm"
|
||||
|
||||
PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"
|
||||
|
||||
EGL_PLATFORMS = "drm"
|
||||
|
||||
Reference in New Issue
Block a user