summaryrefslogtreecommitdiffstats
path: root/src/broadcom
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/broadcom
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/broadcom')
-rw-r--r--src/broadcom/cle/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/broadcom/cle/meson.build b/src/broadcom/cle/meson.build
index 32510cee5ef..1534fc9d82b 100644
--- a/src/broadcom/cle/meson.build
+++ b/src/broadcom/cle/meson.build
@@ -39,14 +39,13 @@ v3d_xml_h = custom_target(
v3d_xml_pack = []
foreach f : v3d_xml_files
_name = '@0@_pack.h'.format(f.split('.')[0])
- _xml = custom_target(
+ v3d_xml_pack += custom_target(
_name,
input : ['gen_pack_header.py', f],
output : _name,
command : [prog_python2, '@INPUT@'],
capture : true,
)
- v3d_xml_pack += _xml
endforeach
libbroadcom_cle = static_library(