summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:02 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:10 -0500
commit1f3d3c8fd7f76150b727aa5980097d524cbb1141 (patch)
tree56fa975d1f74a0ae64ecc7d91fbc546984f74ab5 /configure
parent91880d96a188ed88a1762b6648fb452b3eea845e (diff)
downloadhqemu-1f3d3c8fd7f76150b727aa5980097d524cbb1141.zip
hqemu-1f3d3c8fd7f76150b727aa5980097d524cbb1141.tar.gz
Add new config-devices.mak for each target
We generate config-devices.h from there automatically. We need to do it in main Makefile, because we are going to need a main Makefile for them. Patchworks-ID: 35196 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 70363be..0cb4326 100755
--- a/configure
+++ b/configure
@@ -2076,6 +2076,7 @@ target_dir="$target"
config_target_mak=$target_dir/config-target.mak
target_arch2=`echo $target | cut -d '-' -f 1`
target_bigendian="no"
+
case "$target_arch2" in
armeb|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|sh4eb|sparc|sparc64|sparc32plus)
target_bigendian=yes
@@ -2116,6 +2117,10 @@ if test "$target" = "arm-linux-user" -o "$target" = "armeb-linux-user" -o "$targ
mkdir -p $target_dir/nwfpe
fi
+if test ! -f $target_dir/config-devices.mak ; then
+ cp $source_path/default-configs/${target}.mak $target_dir/config-devices.mak
+fi
+
#
# don't use ln -sf as not all "ln -sf" over write the file/link
#
OpenPOWER on IntegriCloud