aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:01 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:04 -0500
commit91880d96a188ed88a1762b6648fb452b3eea845e (patch)
treee337320192b975676f70a77adafdc5aeb90a21d2 /configure
parent25be210f69543faae4f22bfa2c7446c4f1be62ef (diff)
downloadqemu-91880d96a188ed88a1762b6648fb452b3eea845e.zip
qemu-91880d96a188ed88a1762b6648fb452b3eea845e.tar.gz
qemu-91880d96a188ed88a1762b6648fb452b3eea845e.tar.bz2
Move generation of config-target.h to Makefile from configure
Patchworks-ID: 35194 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 0 insertions, 17 deletions
diff --git a/configure b/configure
index dfc2818..70363be 100755
--- a/configure
+++ b/configure
@@ -2074,7 +2074,6 @@ fi
for target in $target_list; do
target_dir="$target"
config_target_mak=$target_dir/config-target.mak
-config_target_h=$target_dir/config-target.h
target_arch2=`echo $target | cut -d '-' -f 1`
target_bigendian="no"
case "$target_arch2" in
@@ -2109,10 +2108,6 @@ case "$target" in
;;
esac
-#echo "Creating $config_target_mak, $config_target_h and $target_dir/Makefile"
-
-test -f $config_target_h && mv $config_target_h ${config_target_h}~
-
mkdir -p $target_dir
mkdir -p $target_dir/fpu
mkdir -p $target_dir/tcg
@@ -2457,18 +2452,6 @@ fi
echo "LDFLAGS+=$ldflags" >> $config_target_mak
echo "QEMU_CFLAGS+=$cflags" >> $config_target_mak
-echo "#include \"../config-host.h\"" > $config_target_h
-
-/bin/sh $source_path/create_config < $config_target_mak >> $config_target_h
-
-if test -f ${config_target_h}~ ; then
- if cmp -s $config_target_h ${config_target_h}~ ; then
- mv ${config_target_h}~ $config_target_h
- else
- rm ${config_target_h}~
- fi
-fi
-
done # for target in $targets
# build tree in object directory if source path is different from current one