diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/freedreno/meson.build | 3 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/meson.build | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index ef70cc08c74..f334d2d8ef8 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -249,5 +249,6 @@ ir3_compiler = executable( libglsl_standalone, libmesa_util, ], - build_by_default : true, + build_by_default : with_tools.contains('freedreno'), + install : with_tools.contains('freedreno'), ) 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( |