diff options
author | Dylan Baker <[email protected]> | 2017-11-10 09:17:08 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-11-13 13:43:12 -0800 |
commit | 2bfd34c518134dd656f4f23f3c6c8acb1eeda507 (patch) | |
tree | d7146ef7faafc54e40ca82792d35b46e1c55453f /src/gallium/winsys | |
parent | 63b6eb9cb92238e7aff71de680c18f5d1d1bcd91 (diff) |
meson: don't use build_by_default for specific gallium drivers
Using build_by_default : false is convenient for dependencies that can
be pulled in by various diverse components of the build system, the
gallium hardware/software drivers and state trackers do not fit that
description. Instead, these should be guarded using the variable that tracks
whether that driver should be enabled.
This leaves a few helper libraries: trace, rbug, etc, and the generic
winsys bits as `build_by_default : false` because there are a large
number of gallium components that pull them in.
v2: - remove build_by_default from winsys convenience libs as well.
v3: - Always put drivers before winsys for consistency
Signed-off-by: Dylan Baker <[email protected]>
Tested-by: Lionel Landwerlin <[email protected]> (v1)
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/amdgpu/drm/meson.build | 1 | ||||
-rw-r--r-- | src/gallium/winsys/freedreno/drm/meson.build | 1 | ||||
-rw-r--r-- | src/gallium/winsys/nouveau/drm/meson.build | 1 | ||||
-rw-r--r-- | src/gallium/winsys/radeon/drm/meson.build | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/meson.build b/src/gallium/winsys/amdgpu/drm/meson.build index a81750e842a..8b6f69b2bdd 100644 --- a/src/gallium/winsys/amdgpu/drm/meson.build +++ b/src/gallium/winsys/amdgpu/drm/meson.build @@ -32,5 +32,4 @@ libamdgpuwinsys = static_library( cpp_args : [cpp_vis_args], link_with : libamdgpu_addrlib, dependencies : dep_libdrm_amdgpu, - build_by_default : false, ) diff --git a/src/gallium/winsys/freedreno/drm/meson.build b/src/gallium/winsys/freedreno/drm/meson.build index 71ee01139d3..34aff635dde 100644 --- a/src/gallium/winsys/freedreno/drm/meson.build +++ b/src/gallium/winsys/freedreno/drm/meson.build @@ -26,5 +26,4 @@ libfreedrenowinsys = static_library( ], c_args : [c_vis_args], dependencies : [dep_libdrm_freedreno], - build_by_default : false, ) diff --git a/src/gallium/winsys/nouveau/drm/meson.build b/src/gallium/winsys/nouveau/drm/meson.build index b5ef0d7097f..cf661971f8b 100644 --- a/src/gallium/winsys/nouveau/drm/meson.build +++ b/src/gallium/winsys/nouveau/drm/meson.build @@ -26,5 +26,4 @@ libnouveauwinsys = static_library( ], c_args : [c_vis_args], dependencies : [dep_libdrm_nouveau], - build_by_default : false, ) diff --git a/src/gallium/winsys/radeon/drm/meson.build b/src/gallium/winsys/radeon/drm/meson.build index 8a3f8021157..d123df0502b 100644 --- a/src/gallium/winsys/radeon/drm/meson.build +++ b/src/gallium/winsys/radeon/drm/meson.build @@ -26,5 +26,4 @@ libradeonwinsys = static_library( include_directories : [inc_src, inc_include, inc_gallium, inc_gallium_aux], c_args : [c_vis_args], dependencies : [dep_libdrm_radeon], - build_by_default : false, ) |