qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch] Allow command in target-list


From: Paul Brook
Subject: [Qemu-devel] [patch] Allow command in target-list
Date: Sun, 5 Jun 2005 03:32:46 +0100
User-agent: KMail/1.7.2

The patch below makes configure --target-list accept a comma separated list of 
targets, as well as a space separated list. This is easier to protect from 
the shell, and more consistent with other configure scripts.

Space separated lists are still accepted as before.

Paul

Index: configure
===================================================================
--- configure   (revision 24)
+++ configure   (working copy)
@@ -215,6 +215,8 @@
     if [ "$linux" = "yes" ] ; then
         target_list="i386-user arm-user armeb-user sparc-user ppc-user 
$target_list"
     fi
+else
+    target_list=$(echo "$target_list" | sed -e 's/,/ /g')
 fi
 
 if test -z "$cross_prefix" ; then




reply via email to

[Prev in Thread] Current Thread [Next in Thread]