diff options
author | Eric Anholt <[email protected]> | 2017-10-12 18:40:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-17 13:41:59 -0700 |
commit | 4f3e380fa0f192f90e6661ecf5ca1d7e755eed8f (patch) | |
tree | 3d45032f82a2e25077ec6298e824d16977cb5373 /src/gallium/targets/dri | |
parent | 1918c9b1627d5403e2efbffa03441c4b7d61a63e (diff) |
meson: Add support for the vc5 driver.
v2: Default vc5 to off, since it requires the simulator currently. Add
missing dep on the XML generation from libbroadcom_vc5.
Reviewed-by: Dylan Baker <[email protected]> (v1)
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index fd758e1b60a..541234f8032 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -83,11 +83,20 @@ if with_gallium_softpipe endif if with_gallium_vc4 gallium_dri_c_args += '-DGALLIUM_VC4' - gallium_dri_link_with += [libvc4, libvc4winsys, libbroadcom_cle] + gallium_dri_link_with += [libvc4, libvc4winsys] gallium_dri_drivers += 'vc4_dri.so' endif +if with_gallium_vc5 + gallium_dri_c_args += '-DGALLIUM_VC5' + gallium_dri_link_with += [libvc5, libvc5winsys, libbroadcom_vc5] + gallium_dri_drivers += 'vc5_dri.so' +endif + +if with_gallium_vc4 or with_gallium_vc5 + gallium_dri_link_with += libbroadcom_cle +endif -if with_gallium_vc4 or with_gallium_radeonsi +if with_gallium_vc4 or with_gallium_vc5 or with_gallium_radeonsi gallium_dri_link_with += libnir endif |