diff options
author | Scott D Phillips <[email protected]> | 2018-02-07 16:55:24 -0800 |
---|---|---|
committer | Scott D Phillips <[email protected]> | 2018-02-08 11:24:42 -0800 |
commit | 1f4d2433e73a0a6d4e2a180de407970d983309db (patch) | |
tree | ee69bacbb0af123566f2d2c4320127626cd5cca9 /src/gallium/drivers/nouveau/meson.build | |
parent | 464d057c86ab36db81590aa940902ff7e29894da (diff) |
meson: Add build option for tools
Add a build option to control building some of the misc tools we
have. Also set the executables to install, presumably you want
that if you're asking for the build.
v2: set 'install:' to the with_tools value, not true (Jordan)
handle 'all' in a the comma list (Dylan)
Add freedreno's tools (Dylan)
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/meson.build')
-rw-r--r-- | src/gallium/drivers/nouveau/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/meson.build b/src/gallium/drivers/nouveau/meson.build index 8ddd8657991..e44be2616e7 100644 --- a/src/gallium/drivers/nouveau/meson.build +++ b/src/gallium/drivers/nouveau/meson.build @@ -219,7 +219,8 @@ nouveau_compiler = executable( include_directories : [inc_src, inc_include, inc_gallium, inc_gallium_aux], dependencies : [dep_libdrm, dep_libdrm_nouveau], link_with : [libnouveau, libgallium, libmesa_util], - build_by_default : false, + build_by_default : with_tools.contains('nouveau'), + install : with_tools.contains('nouveau'), ) driver_nouveau = declare_dependency( |