From 4ae08296d09c00dd4650e53929576e00b7e2d1c8 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 25 Oct 2017 17:59:11 -0700 Subject: meson: build r300 driver This is build tested only Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- src/gallium/targets/dri/meson.build | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/gallium/targets/dri') 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 -- cgit v1.2.3