[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 24/26] Only setup TARGET_ARCH when it is different o
From: |
quintela |
Subject: |
[Qemu-devel] [PATCH 24/26] Only setup TARGET_ARCH when it is different of |
Date: |
Mon, 13 Jul 2009 17:54:03 +0200 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/configure b/configure
index 475b260..cf1c457 100755
--- a/configure
+++ b/configure
@@ -1885,15 +1885,14 @@ interp_prefix1=`echo "$interp_prefix" | sed
"s/%M/$target_arch2/g"`
echo "#define CONFIG_QEMU_PREFIX \"$interp_prefix1\"" >> $config_h
gdb_xml_files=""
+TARGET_ARCH="$target_arch2"
case "$target_arch2" in
i386)
- TARGET_ARCH=i386
echo "#define TARGET_ARCH \"i386\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
target_phys_bits=32
;;
x86_64)
- TARGET_ARCH=x86_64
echo "TARGET_BASE_ARCH=i386" >> $config_mak
echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
echo "#define TARGET_I386 1" >> $config_h
@@ -1901,7 +1900,6 @@ case "$target_arch2" in
target_phys_bits=64
;;
alpha)
- TARGET_ARCH=alpha
echo "#define TARGET_ARCH \"alpha\"" >> $config_h
echo "#define TARGET_ALPHA 1" >> $config_h
target_phys_bits=64
@@ -1917,14 +1915,12 @@ case "$target_arch2" in
target_phys_bits=32
;;
cris)
- TARGET_ARCH=cris
echo "#define TARGET_ARCH \"cris\"" >> $config_h
echo "#define TARGET_CRIS 1" >> $config_h
target_nptl="yes"
target_phys_bits=32
;;
m68k)
- TARGET_ARCH=m68k
echo "#define TARGET_ARCH \"m68k\"" >> $config_h
echo "#define TARGET_M68K 1" >> $config_h
bflt="yes"
@@ -1932,7 +1928,6 @@ case "$target_arch2" in
target_phys_bits=32
;;
microblaze)
- TARGET_ARCH=microblaze
echo "#define TARGET_ARCH \"microblaze\"" >> $config_h
echo "#define TARGET_MICROBLAZE 1" >> $config_h
bflt="yes"
@@ -1968,14 +1963,12 @@ case "$target_arch2" in
target_phys_bits=64
;;
ppc)
- TARGET_ARCH=ppc
echo "#define TARGET_ARCH \"ppc\"" >> $config_h
echo "#define TARGET_PPC 1" >> $config_h
gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml
power-spe.xml"
target_phys_bits=32
;;
ppcemb)
- TARGET_ARCH=ppcemb
echo "TARGET_BASE_ARCH=ppc" >> $config_mak
echo "TARGET_ABI_DIR=ppc" >> $config_mak
echo "#define TARGET_ARCH \"ppcemb\"" >> $config_h
@@ -1985,7 +1978,6 @@ case "$target_arch2" in
target_phys_bits=64
;;
ppc64)
- TARGET_ARCH=ppc64
echo "TARGET_BASE_ARCH=ppc" >> $config_mak
echo "TARGET_ABI_DIR=ppc" >> $config_mak
echo "#define TARGET_ARCH \"ppc64\"" >> $config_h
@@ -2016,13 +2008,11 @@ case "$target_arch2" in
target_phys_bits=32
;;
sparc)
- TARGET_ARCH=sparc
echo "#define TARGET_ARCH \"sparc\"" >> $config_h
echo "#define TARGET_SPARC 1" >> $config_h
target_phys_bits=64
;;
sparc64)
- TARGET_ARCH=sparc64
echo "TARGET_BASE_ARCH=sparc" >> $config_mak
echo "#define TARGET_ARCH \"sparc64\"" >> $config_h
echo "#define TARGET_SPARC 1" >> $config_h
--
1.6.2.5
- [Qemu-devel] [PATCH 12/26] configure kvm in a single place, (continued)
- [Qemu-devel] [PATCH 12/26] configure kvm in a single place, quintela, 2009/07/13
- [Qemu-devel] [PATCH 16/26] Refactor a single rule to generate all qemu-* executables, quintela, 2009/07/13
- [Qemu-devel] [PATCH 17/26] qemu binary don't exist anymore. I guess not much people is compiling on alpha, quintela, 2009/07/13
- [Qemu-devel] [PATCH 18/26] We can wrap OS_CFLAGS/OS_LDFLAGS in CFLAGS/LDFLAGS at configure time, quintela, 2009/07/13
- [Qemu-devel] [PATCH 19/26] We can wrap ARCH_CFLAGS/ARCH_LDFLAGS in CFLAGS/LDFLAGS at configure time, quintela, 2009/07/13
- [Qemu-devel] [PATCH 20/26] generate ARCH name instead of coding it, quintela, 2009/07/13
- [Qemu-devel] [PATCH 21/26] Refactor common code using a list, quintela, 2009/07/13
- [Qemu-devel] [PATCH 22/26] Refactor targe_bigendian selection in another list, quintela, 2009/07/13
- [Qemu-devel] [PATCH 23/26] print only once TARGET_ARCH, quintela, 2009/07/13
- [Qemu-devel] [PATCH 25/26] generate TARGET_ARCH for config.h, quintela, 2009/07/13
- [Qemu-devel] [PATCH 24/26] Only setup TARGET_ARCH when it is different of,
quintela <=
- [Qemu-devel] [PATCH 26/26] generate TARGET_<arch name> for config.h, quintela, 2009/07/13