summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-01-16 10:36:28 -0800
committerEmil Velikov <[email protected]>2018-02-05 19:06:02 +0000
commit2a99c5211ba9bdc15117892847b10a8de5b3c486 (patch)
tree06ee04f9350bd563087fd36e3e511ca3ddbd648f /meson_options.txt
parentd6a8939225710b01db846e612738d2eb05f7fa0a (diff)
meson: Don't confuse the install and search paths for dri drivers
Currently there is not a separate option for setting the search path of DRI drivers in meson, like there is in scons and autotools. This is an oversight and needs to be fixed. This adds an extra option `dri-search-path`, which will default to the value of `dri-drivers-path`, like autotools does. v2: - Split input list before joining. v3: - use : instead of ; as the delimiter. The autotools help string incorrectly says ; but the code uses : v4: - Take list in pre : delimited form (Ilia) - Ensure that the dri-search-path is absolute when using dri_drivers_path Fixes: db9788420d4bc7b4 ("meson: Add support for configuring dri drivers directory.") Reported-by: Ilia Mirkin <[email protected]> Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]> (v2) Reviewed-by: Eric Engestrom <[email protected]> (v3) (cherry picked from commit d7235ef83b92175537e3b538634ffcff29bf0dce)
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 894378985fd..fca06c4e61d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -41,7 +41,13 @@ option(
'dri-drivers-path',
type : 'string',
value : '',
- description : 'Location of dri drivers. Default: $libdir/dri.'
+ description : 'Location to install dri drivers. Default: $libdir/dri.'
+)
+option(
+ 'dri-search-path',
+ type : 'string',
+ value : '',
+ description : 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.'
)
option(
'gallium-drivers',