]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG
authorYann Dirson <yann@blade-group.com>
Thu, 28 May 2020 15:08:52 +0000 (08:08 -0700)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 29 May 2020 00:32:44 +0000 (08:32 +0800)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 78efff8741f869647790810a3dd41459b9d9d8a6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch

index 3458c1919918dddb8c5a966e98ddf6d6e0e2922c..346b21758516a3101d03c39dca7ef1d7e72a726e 100644 (file)
@@ -23,7 +23,7 @@ index 0e50bb26c0a..de065c290d6 100644
  with_dri_swrast = dri_drivers.contains('swrast')
  
 -with_dri = dri_drivers.length() != 0 and dri_drivers != ['']
-+with_dri = get_option('dri') or (_drivers.length() != 0 and _drivers != [''])
++with_dri = get_option('dri') or (dri_drivers.length() != 0 and dri_drivers != [''])
  
  gallium_drivers = get_option('gallium-drivers')
  if gallium_drivers.contains('auto')