diff mbox series

[RFC,12/27] target/arm: Add tcg/meson.build

Message ID 20230104215835.24692-13-farosas@suse.de (mailing list archive)
State New, archived
Headers show
Series target/arm: Allow CONFIG_TCG=n builds | expand

Commit Message

Fabiano Rosas Jan. 4, 2023, 9:58 p.m. UTC
This introduces the target/arm/tcg directory. Its purpose is to hold
the TCG code that is selected by CONFIG_TCG.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
We could squash this onto the next one perhaps.
---
 MAINTAINERS                | 1 +
 target/arm/meson.build     | 4 ++++
 target/arm/tcg/meson.build | 0
 3 files changed, 5 insertions(+)
 create mode 100644 target/arm/tcg/meson.build

Comments

Philippe Mathieu-Daudé Jan. 4, 2023, 10:23 p.m. UTC | #1
On 4/1/23 22:58, Fabiano Rosas wrote:
> This introduces the target/arm/tcg directory. Its purpose is to hold
> the TCG code that is selected by CONFIG_TCG.
> 
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
> ---
> We could squash this onto the next one perhaps.

Yes please.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

> ---
>   MAINTAINERS                | 1 +
>   target/arm/meson.build     | 4 ++++
>   target/arm/tcg/meson.build | 0
>   3 files changed, 5 insertions(+)
>   create mode 100644 target/arm/tcg/meson.build
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index 7a40d4d865..50ccb74593 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -159,6 +159,7 @@  M: Peter Maydell <peter.maydell@linaro.org>
 L: qemu-arm@nongnu.org
 S: Maintained
 F: target/arm/
+F: target/arm/tcg/
 F: tests/tcg/arm/
 F: tests/tcg/aarch64/
 F: tests/qtest/arm-cpu-features.c
diff --git a/target/arm/meson.build b/target/arm/meson.build
index 87e911b27f..3225dbd693 100644
--- a/target/arm/meson.build
+++ b/target/arm/meson.build
@@ -67,5 +67,9 @@  arm_softmmu_ss.add(files(
 
 subdir('hvf')
 
+if 'CONFIG_TCG' in config_all
+   subdir('tcg')
+endif
+
 target_arch += {'arm': arm_ss}
 target_softmmu_arch += {'arm': arm_softmmu_ss}
diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build
new file mode 100644
index 0000000000..e69de29bb2