diff options
author | Dylan Baker <[email protected]> | 2017-10-09 14:59:35 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-10-16 16:32:43 -0700 |
commit | 813b4b09f9d0168357b165566d403186cfe83701 (patch) | |
tree | 59e41bfc22fc1d2cb67ed45e334ffd182907d73d /src/gallium/targets | |
parent | b154b44ae342eaff3b0c2f4f46138742b5dfafe8 (diff) |
meson: build nouveau (gallium) driver
Tested with a GK107.
v2: - Add target for nouveau standalone compiler. This target is not
built by default.
v3: - Add nouveau to list of drivers built by default
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <eric at anholt.net>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 6f0986af39e..771a38d3214 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -59,6 +59,11 @@ if with_gallium_radeonsi ] gallium_dri_drivers += 'radeonsi_dri.so' endif +if with_gallium_nouveau + gallium_dri_c_args += '-DGALLIUM_NOUVEAU' + gallium_dri_link_with += [libnouveauwinsys, libnouveau] + gallium_dri_drivers += 'nouveau_dri.so' +endif libgallium_dri = shared_library( 'gallium_dri', |