summaryrefslogtreecommitdiffstats
path: root/src/broadcom/cle/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/cle/meson.build')
-rw-r--r--src/broadcom/cle/meson.build26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/broadcom/cle/meson.build b/src/broadcom/cle/meson.build
index b1ff8322524..a45538c986f 100644
--- a/src/broadcom/cle/meson.build
+++ b/src/broadcom/cle/meson.build
@@ -26,30 +26,28 @@ v3d_versions = [
]
v3d_xml_files = []
-foreach v: v3d_versions
- v3d_xml_files += 'v3d_packet_v@[email protected]'.format(v)
-endforeach
-
-v3d_xml_h = custom_target(
- 'v3d_xml.h',
- input : ['../../intel/genxml/gen_zipped_file.py', v3d_xml_files],
- output : 'v3d_xml.h',
- command : [prog_python2, '@INPUT@'],
- capture : true,
-)
-
v3d_xml_pack = []
-foreach f : v3d_xml_files
+foreach v : v3d_versions
+ f = 'v3d_packet_v@[email protected]'.format(v)
_name = '@0@_pack.h'.format(f.split('.')[0])
+ v3d_xml_files += f
v3d_xml_pack += custom_target(
_name,
input : ['gen_pack_header.py', f],
output : _name,
- command : [prog_python2, '@INPUT@'],
+ command : [prog_python2, '@INPUT@', '@0@'.format(v)],
capture : true,
)
endforeach
+v3d_xml_h = custom_target(
+ 'v3d_xml.h',
+ input : ['../../intel/genxml/gen_zipped_file.py', v3d_xml_files],
+ output : 'v3d_xml.h',
+ command : [prog_python2, '@INPUT@'],
+ capture : true,
+)
+
libbroadcom_cle = static_library(
['broadcom_cle', v3d_xml_h],
'v3d_decoder.c',