meson: remove dri-search-path
It's not actually used anywhere. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31223>
This commit is contained in:
@@ -91,10 +91,6 @@ dri_drivers_path = get_option('dri-drivers-path')
|
|||||||
if dri_drivers_path == ''
|
if dri_drivers_path == ''
|
||||||
dri_drivers_path = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
dri_drivers_path = join_paths(get_option('prefix'), get_option('libdir'), 'dri')
|
||||||
endif
|
endif
|
||||||
dri_search_path = get_option('dri-search-path')
|
|
||||||
if dri_search_path == ''
|
|
||||||
dri_search_path = dri_drivers_path
|
|
||||||
endif
|
|
||||||
|
|
||||||
gbm_backends_path = get_option('gbm-backends-path')
|
gbm_backends_path = get_option('gbm-backends-path')
|
||||||
if gbm_backends_path == ''
|
if gbm_backends_path == ''
|
||||||
|
@@ -66,14 +66,6 @@ option(
|
|||||||
'Do not enable unless you know what you are doing. Default: false'
|
'Do not enable unless you know what you are doing. Default: false'
|
||||||
)
|
)
|
||||||
|
|
||||||
option(
|
|
||||||
'dri-search-path',
|
|
||||||
type : 'string',
|
|
||||||
value : '',
|
|
||||||
description : 'Locations to search for dri drivers, passed as colon ' +
|
|
||||||
'separated list. Default: dri-drivers-path.'
|
|
||||||
)
|
|
||||||
|
|
||||||
option(
|
option(
|
||||||
'expat',
|
'expat',
|
||||||
type : 'feature',
|
type : 'feature',
|
||||||
|
@@ -21,7 +21,6 @@ endif
|
|||||||
|
|
||||||
loader_c_args = [
|
loader_c_args = [
|
||||||
'-DUSE_DRICONF',
|
'-DUSE_DRICONF',
|
||||||
'-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path),
|
|
||||||
]
|
]
|
||||||
libloader = static_library(
|
libloader = static_library(
|
||||||
'loader',
|
'loader',
|
||||||
|
Reference in New Issue
Block a user