diff options
author | Dylan Baker <[email protected]> | 2017-10-25 17:59:11 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-11-28 14:06:30 -0800 |
commit | 4ae08296d09c00dd4650e53929576e00b7e2d1c8 (patch) | |
tree | 7890dfb83c261db41546298e328f4cb8aa267279 /src/gallium/targets/dri | |
parent | 9169dde94149abe519cf1d1da7e388d0e200fa3f (diff) |
meson: build r300 driver
This is build tested only
Signed-off-by: Dylan Baker <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 4dbda07449a..88aae56fd8c 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -59,8 +59,7 @@ endif if with_gallium_radeonsi gallium_dri_c_args += '-DGALLIUM_RADEONSI' gallium_dri_link_with += [ - libradeonsi, libradeonwinsys, libamdgpuwinsys, libradeon, - libamd_common, + libradeonsi, libamdgpuwinsys, libradeon, libamd_common, ] gallium_dri_drivers += 'radeonsi_dri.so' gallium_dri_sources += [si_driinfo_h] @@ -113,6 +112,15 @@ if with_gallium_i915 gallium_dri_link_with += [libi915, libi915drm] gallium_dri_drivers += 'i915_dri.so' endif +if with_gallium_r300 + gallium_dri_c_args += '-DGALLIUM_R300' + gallium_dri_link_with += libr300 + gallium_dri_drivers += 'r300_dri.so' +endif + +if with_gallium_radeonsi or with_gallium_r300 # TODO: r600 + gallium_dri_link_with += libradeonwinsys +endif if with_gallium_vc4 or with_gallium_vc5 gallium_dri_link_with += libbroadcom_cle |