]> git.proxmox.com Git - qemu.git/blobdiff - configure
Add new config-devices.mak for each target
[qemu.git] / configure
index 70363be8491c9ecb8f73b2c056b9ac16e9e11135..0cb4326559b023c425a07b3d78993aaad5031b82 100755 (executable)
--- 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
 #