qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: Unify arm and aarch64 disas configury
@ 2015-05-26  5:49 Peter Crosthwaite
  2015-05-26  7:18 ` Peter Maydell
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Crosthwaite @ 2015-05-26  5:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, Peter Crosthwaite, Peter Crosthwaite,
	Richard Henderson

From: Peter Crosthwaite <crosthwaitepeter@gmail.com>

The "arm" variant for this case already contains everything needed
for aarch64. As aarch64 already uses arm as a base architecture, it
will already have the CONFIG_ARM_DIS defined meaning no functional
change. So just make the configure code simpler.

Following this patch:

$ ./configure --target-list=aarch64-softmmu,aarch64-linux-user
$ grep DIS aarch64-softmmu/config-target.mak
CONFIG_I386_DIS=y
CONFIG_ARM_DIS=y
CONFIG_ARM_A64_DIS=y
$ grep DIS aarch64-linux-user/config-target.mak
CONFIG_I386_DIS=y
CONFIG_ARM_DIS=y
CONFIG_ARM_A64_DIS=y

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
---
Helps with multi-arch, less code paths to convert to multi-arch for
multi-arches many-way disas configury.
---
 configure | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/configure b/configure
index f758f32..3145dd6 100755
--- a/configure
+++ b/configure
@@ -5405,13 +5405,7 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
     echo "CONFIG_ALPHA_DIS=y"  >> $config_target_mak
     echo "CONFIG_ALPHA_DIS=y"  >> config-all-disas.mak
   ;;
-  aarch64)
-    if test -n "${cxx}"; then
-      echo "CONFIG_ARM_A64_DIS=y"  >> $config_target_mak
-      echo "CONFIG_ARM_A64_DIS=y"  >> config-all-disas.mak
-    fi
-  ;;
-  arm)
+  arm|aarch64)
     echo "CONFIG_ARM_DIS=y"  >> $config_target_mak
     echo "CONFIG_ARM_DIS=y"  >> config-all-disas.mak
     if test -n "${cxx}"; then
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-08  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-26  5:49 [Qemu-devel] [PATCH] configure: Unify arm and aarch64 disas configury Peter Crosthwaite
2015-05-26  7:18 ` Peter Maydell
2015-05-26  8:01   ` Peter Crosthwaite
2015-05-26  8:24     ` Peter Maydell
2015-06-07  8:49       ` Peter Crosthwaite
2015-06-07 10:51         ` Peter Maydell
2015-06-07 19:19           ` Peter Crosthwaite
2015-06-08  7:52             ` Peter Maydell

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).