Skip to contentSkip to conversation

Allow command in target-list

PATCH New Paul Brook 1 participant 1 message Jun 5, 2005

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Allow command in target-list

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

configure +0 -0
Index: configure
===================================================================
@@ -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