diff mbox series

[02/26] meson: Move disas/tci.c to disas/meson.build

Message ID 20210311002156.253711-3-richard.henderson@linaro.org
State New
Headers show
Series tcg: Workaround macOS 11.2 mprotect bug | expand

Commit Message

Richard Henderson March 11, 2021, 12:21 a.m. UTC
There's no reason to do this in the main meson.build.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 meson.build       | 1 -
 disas/meson.build | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.25.1

Comments

Philippe Mathieu-Daudé March 13, 2021, 5:36 p.m. UTC | #1
On 3/11/21 1:21 AM, Richard Henderson wrote:
> There's no reason to do this in the main meson.build.

> 

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

> ---

>  meson.build       | 1 -

>  disas/meson.build | 2 ++

>  2 files changed, 2 insertions(+), 1 deletion(-)


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Richard Henderson March 13, 2021, 6:46 p.m. UTC | #2
On 3/10/21 6:21 PM, Richard Henderson wrote:
> There's no reason to do this in the main meson.build.

> 

> Signed-off-by: Richard Henderson<richard.henderson@linaro.org>

> ---

>   meson.build       | 1 -

>   disas/meson.build | 2 ++

>   2 files changed, 2 insertions(+), 1 deletion(-)


I'm going to drop this one because it conflicts with the in-flight TCI patch 
set, which eliminates disas/tci.c entirely.


r~
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 8bc472ddeb..f884a62682 100644
--- a/meson.build
+++ b/meson.build
@@ -1937,7 +1937,6 @@  specific_ss.add(files('exec-vary.c'))
 specific_ss.add(when: 'CONFIG_TCG', if_true: files(
   'fpu/softfloat.c',
 ))
-specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('disas/tci.c'))
 
 subdir('backends')
 subdir('disas')
diff --git a/disas/meson.build b/disas/meson.build
index 4c8da01877..b7b659bf88 100644
--- a/disas/meson.build
+++ b/disas/meson.build
@@ -23,3 +23,5 @@  common_ss.add(when: 'CONFIG_SH4_DIS', if_true: files('sh4.c'))
 common_ss.add(when: 'CONFIG_SPARC_DIS', if_true: files('sparc.c'))
 common_ss.add(when: 'CONFIG_XTENSA_DIS', if_true: files('xtensa.c'))
 common_ss.add(when: capstone, if_true: files('capstone.c'))
+
+specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('tci.c'))