summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-10-23 10:40:15 -0700
committerDylan Baker <[email protected]>2018-10-24 09:22:13 -0700
commit43b0d5fa04cec45ab61b654bfa25f6a1b1af027f (patch)
tree58bc6bd7f9e2bf72e8bbbb7999c16e58f0fd5ce2 /src/mesa/drivers/dri
parentb0c427043bc01dde32e91893f2fb881e9bd99967 (diff)
meson: fix formatting and add extra_files to i965
extra_files is just a nice way to to tell certain IDEs (and those reading the file) that this file is also a dependency. Meson will use the .d file generated by the compiler to figure out what the target actually depends on. Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Juan A. Suarez <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/meson.build22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/i965/meson.build b/src/mesa/drivers/dri/i965/meson.build
index bf366a6c157..24172955e9b 100644
--- a/src/mesa/drivers/dri/i965/meson.build
+++ b/src/mesa/drivers/dri/i965/meson.build
@@ -191,20 +191,22 @@ intel_tiled_memcpy = static_library(
inc_common, inc_intel, inc_dri_common, inc_drm_uapi,
],
c_args : [c_vis_args, no_override_init_args, '-msse2'],
+ extra_files : ['intel_tiled_memcpy.c']
)
if with_sse41
-intel_tiled_memcpy_sse41 = static_library(
- 'intel_tiled_memcpy_sse41',
- [files_intel_tiled_memcpy_sse41],
- include_directories : [
- inc_common, inc_intel, inc_dri_common, inc_drm_uapi,
- ],
- link_args : [ '-Wl,--exclude-libs=ALL' ],
- c_args : [c_vis_args, no_override_init_args, '-Wl,--exclude-libs=ALL', '-msse2', sse41_args],
-)
+ intel_tiled_memcpy_sse41 = static_library(
+ 'intel_tiled_memcpy_sse41',
+ [files_intel_tiled_memcpy_sse41],
+ include_directories : [
+ inc_common, inc_intel, inc_dri_common, inc_drm_uapi,
+ ],
+ link_args : ['-Wl,--exclude-libs=ALL'],
+ c_args : [c_vis_args, no_override_init_args, '-Wl,--exclude-libs=ALL', '-msse2', sse41_args],
+ extra_files : ['intel_tiled_memcpy.c']
+ )
else
-intel_tiled_memcpy_sse41 = []
+ intel_tiled_memcpy_sse41 = []
endif