summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpbrook2006-06-11 15:32:59 +0200
committerpbrook2006-06-11 15:32:59 +0200
commite5fe0c5230cc7780de852cefb5df57e05e2c613e (patch)
treee9336966c143de451ee699c37714200ce9f96079 /configure
parentWin32 build fix. (diff)
downloadqemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.tar.gz
qemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.tar.xz
qemu-e5fe0c5230cc7780de852cefb5df57e05e2c613e.zip
bFLT loader (for uClinux binaries).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1951 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index d33e202102..3672fe0872 100755
--- a/configure
+++ b/configure
@@ -773,6 +773,7 @@ echo "/* Automatically generated by configure - do not modify */" > $config_h
echo "include ../config-host.mak" >> $config_mak
echo "#include \"../config-host.h\"" >> $config_h
+bflt="no"
interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_cpu/g"`
echo "#define CONFIG_QEMU_PREFIX \"$interp_prefix1\"" >> $config_h
@@ -787,6 +788,7 @@ elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
echo "TARGET_ARCH=arm" >> $config_mak
echo "#define TARGET_ARCH \"arm\"" >> $config_h
echo "#define TARGET_ARM 1" >> $config_h
+ bflt="yes"
elif test "$target_cpu" = "sparc" ; then
echo "TARGET_ARCH=sparc" >> $config_mak
echo "#define TARGET_ARCH \"sparc\"" >> $config_h
@@ -842,6 +844,10 @@ if test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
echo "CONFIG_SOFTFLOAT=yes" >> $config_mak
echo "#define CONFIG_SOFTFLOAT 1" >> $config_h
fi
+if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
+ echo "TARGET_HAS_BFLT=yes" >> $config_mak
+ echo "#define TARGET_HAS_BFLT 1" >> $config_h
+fi
# sdl defines
if test "$target_user_only" = "no"; then