qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org, qemu-trivial@nongnu.org
Subject: [PATCH 5/7] hw/cpu: Mark arm11 and realview mpcore as target-independent code
Date: Thu, 12 Jan 2023 14:49:26 +0100	[thread overview]
Message-ID: <20230112134928.1026006-6-thuth@redhat.com> (raw)
In-Reply-To: <20230112134928.1026006-1-thuth@redhat.com>

Seems like there is nothing target-specific in here, so these files
can be moved to softmmu_ss to avoid that they get compiled twice
(once for qemu-system-arm and once for qemu-system-aarch64).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 hw/cpu/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/cpu/meson.build b/hw/cpu/meson.build
index 9e52fee9e7..e37490074f 100644
--- a/hw/cpu/meson.build
+++ b/hw/cpu/meson.build
@@ -1,6 +1,6 @@
 softmmu_ss.add(files('core.c', 'cluster.c'))
 
-specific_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
-specific_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
+softmmu_ss.add(when: 'CONFIG_ARM11MPCORE', if_true: files('arm11mpcore.c'))
+softmmu_ss.add(when: 'CONFIG_REALVIEW', if_true: files('realview_mpcore.c'))
 specific_ss.add(when: 'CONFIG_A9MPCORE', if_true: files('a9mpcore.c'))
 specific_ss.add(when: 'CONFIG_A15MPCORE', if_true: files('a15mpcore.c'))
-- 
2.31.1



  parent reply	other threads:[~2023-01-12 13:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12 13:49 [PATCH 0/7] Trivial: Mark some more files as target-independant Thomas Huth
2023-01-12 13:49 ` [PATCH 1/7] hw/display: Move omap_lcdc.c out of target-specific source set Thomas Huth
2023-01-12 13:49 ` [PATCH 2/7] hw/intc: Move some files out of the " Thomas Huth
2023-01-12 13:49 ` [PATCH 3/7] hw/tpm: Move tpm_ppi.c out of " Thomas Huth
2023-01-12 13:49 ` [PATCH 4/7] hw/arm: Move various units to softmmu_ss[] Thomas Huth
2023-01-12 13:49 ` Thomas Huth [this message]
2023-01-12 13:49 ` [PATCH 6/7] hw/intc: Mark more interrupt-controller files as target independent Thomas Huth
2023-01-12 13:49 ` [PATCH 7/7] hw/usb: Mark the XLNX_VERSAL-related files as target-independent Thomas Huth
2023-01-13 19:20 ` [PATCH 0/7] Trivial: Mark some more files as target-independant Richard Henderson
2023-01-16 16:58 ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230112134928.1026006-6-thuth@redhat.com \
    --to=thuth@redhat.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).