Skip to contentSkip to conversation

target/ppc: Only generate decodetree files when TCG is enabled

PATCH Applied Philippe Mathieu-Daudé 4 participants 4 messages Jun 26, 2023 – Jun 30, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/ppc: Only generate decodetree files when TCG is enabled

No need to generate TCG-specific decodetree files
when TCG is disabled.

---
 target/ppc/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/ppc/meson.build +1 -1
index a69f174f41..4c2635039e 100644
@@ -28,7 +28,7 @@ gen = [
                      extra_args: ['--static-decode=decode_insn64',
                                   '--insnwidth=64']),
 ]
-ppc_ss.add(gen)
+ppc_ss.add(when: 'CONFIG_TCG', if_true: gen)
 
 ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
 ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
Signature · 1 line
2.38.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Mon, 26 Jun 2023 16:01:00 +0200 Philippe Mathieu-Daudé <[email protected]>…

No need to generate TCG-specific decodetree files
when TCG is disabled.

---

Quoted 16 lines
 target/ppc/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target/ppc/meson.build +1 -1
index a69f174f41..4c2635039e 100644
@@ -28,7 +28,7 @@ gen = [
                      extra_args: ['--static-decode=decode_insn64',
                                   '--insnwidth=64']),
 ]
-ppc_ss.add(gen)
+ppc_ss.add(when: 'CONFIG_TCG', if_true: gen)
 
 ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
 ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
Signature · 1 line
Greg
#3 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 5 lines · Philippe Mathieu-Daudé

No need to generate TCG-specific decodetree files
when TCG is disabled.

---

Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,

Daniel

Quoted 16 lines
  target/ppc/meson.build | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
target/ppc/meson.build +1 -1
index a69f174f41..4c2635039e 100644
@@ -28,7 +28,7 @@ gen = [
                       extra_args: ['--static-decode=decode_insn64',
                                    '--insnwidth=64']),
  ]
-ppc_ss.add(gen)
+ppc_ss.add(when: 'CONFIG_TCG', if_true: gen)
 
  ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c'))
  ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))