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 <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
This commit is contained in:
Dylan Baker
2017-10-09 14:59:35 -07:00
parent b154b44ae3
commit 813b4b09f9
6 changed files with 268 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ option('dri-drivers', type : 'string', value : 'swrast,i915,i965',
description : 'comma separated list of dri drivers to build.')
option('dri-drivers-path', type : 'string', value : '',
description : 'Location of dri drivers. Default: $libdir/dri.')
option('gallium-drivers', type : 'string', value : 'radeonsi',
option('gallium-drivers', type : 'string', value : 'radeonsi,nouveau',
description : 'comma separated list of gallium drivers to build.')
option('gallium-media', type : 'string', value : '',
description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).')