From 5060c51b6f4dfb0d5358bde6523285163d3faaad Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 25 Oct 2017 18:55:38 -0700 Subject: meson: build r600 driver v4: - Ensure inc_amd_common defined when radeonsi is disabled (needed by r600) Signed-off-by: Dylan Baker Tested-by: Aaron Watry Reviewed-by: Eric Anholt --- src/gallium/targets/dri/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gallium/targets/dri/meson.build') diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 88aae56fd8c..8bcef801dbe 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -117,8 +117,13 @@ if with_gallium_r300 gallium_dri_link_with += libr300 gallium_dri_drivers += 'r300_dri.so' endif +if with_gallium_r600 + gallium_dri_c_args += '-DGALLIUM_R600' + gallium_dri_link_with += libr600 + gallium_dri_drivers += 'r600_dri.so' +endif -if with_gallium_radeonsi or with_gallium_r300 # TODO: r600 +if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600 gallium_dri_link_with += libradeonwinsys endif -- cgit v1.2.3