aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-03-09 16:15:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-01 10:37:20 +0200
commita5158a963e7f1bd8d43de54a6471941faf9f5b4e (patch)
tree6624ddbdc07a6e9a52b78d3b7c8abb146f98a547 /target
parentc7328271cf31a01a72234be4b913c1d5c12bf824 (diff)
hexagon: do not specify executables as inputs
gen_semantics is an executable, not an input. Meson 0.57 special cases the first argument and @INPUT@ is not expanded there. Fix that by not including it in the input, only in the command. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/hexagon/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/target/hexagon/meson.build b/target/hexagon/meson.build
index 15318a6fa7..5dd68907b1 100644
--- a/target/hexagon/meson.build
+++ b/target/hexagon/meson.build
@@ -33,8 +33,7 @@ gen_semantics = executable(
semantics_generated = custom_target(
'semantics_generated.pyinc',
output: 'semantics_generated.pyinc',
- input: gen_semantics,
- command: ['@INPUT@', '@OUTPUT@'],
+ command: [gen_semantics, '@OUTPUT@'],
)
hexagon_ss.add(semantics_generated)
@@ -154,8 +153,7 @@ gen_dectree_import = executable(
iset_py = custom_target(
'iset.py',
output: 'iset.py',
- input: gen_dectree_import,
- command: ['@INPUT@', '@OUTPUT@'],
+ command: [gen_dectree_import, '@OUTPUT@'],
)
hexagon_ss.add(iset_py)