Remove userspace target_phys_addr_t
authorPaul Brook <paul@codesourcery.com>
Mon, 1 Mar 2010 02:27:26 +0000 (02:27 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 12 Mar 2010 18:45:44 +0000 (18:45 +0000)
TARGET_PHYS_ADDR_BITS isn't meaningful for userspace emulation, so don't
define it.

Signed-off-by: Paul Brook <paul@codesourcery.com>
configure

index 462a9b7..abd0bf4 100755 (executable)
--- a/configure
+++ b/configure
@@ -2494,11 +2494,11 @@ case "$target_arch2" in
       fi
     fi
 esac
-echo "TARGET_PHYS_ADDR_BITS=$target_phys_bits" >> $config_target_mak
 if test "$target_bigendian" = "yes" ; then
   echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak
 fi
 if test "$target_softmmu" = "yes" ; then
+  echo "TARGET_PHYS_ADDR_BITS=$target_phys_bits" >> $config_target_mak
   echo "CONFIG_SOFTMMU=y" >> $config_target_mak
   echo "LIBS+=$libs_softmmu" >> $config_target_mak
   echo "HWDIR=../libhw$target_phys_bits" >> $config_target_mak