hexagon: do not specify executables as inputs
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Mar 2021 15:15:30 +0000 (16:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Apr 2021 08:37:20 +0000 (10:37 +0200)
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>
target/hexagon/meson.build

index 15318a6fa7b93a0aa3d60ef532f80d30fef0364a..5dd68907b162c95352841fa4e08f46a84e1bca63 100644 (file)
@@ -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)