summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-12-11 16:16:56 -0800
committerDylan Baker <[email protected]>2018-01-11 15:40:02 -0800
commit60856a7b4982aaaa4f22a002878d5d78cd63e272 (patch)
tree9983b6c48a7d676c3b846829f69b67cdd6825a52 /src/mesa/drivers
parent4ccb9816737945159289527322e759d92bf7a4d6 (diff)
meson: don't use intermediate variables that are immediately discarded
For things like: loop x = func() list += x end just do: loop list += func() end Acked-by: Eric Engestrom <[email protected]> Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/meson.build b/src/mesa/drivers/dri/i965/meson.build
index e3bf9cc51bb..1183978b7b3 100644
--- a/src/mesa/drivers/dri/i965/meson.build
+++ b/src/mesa/drivers/dri/i965/meson.build
@@ -136,7 +136,7 @@ files_i965 = files(
i965_gen_libs = []
foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100']
- _lib = static_library(
+ i965_gen_libs += static_library(
'libi965_gen@0@'.format(v),
['genX_blorp_exec.c', 'genX_state_upload.c', nir_opcodes_h, gen_xml_pack],
include_directories : [inc_common, inc_intel, inc_dri_common],
@@ -146,7 +146,6 @@ foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100']
],
dependencies : [dep_libdrm],
)
- i965_gen_libs += _lib
endforeach
oa_generator = generator(