summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-15 19:26:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-15 19:26:57 +0200
commitbbfa3ca2154df9d7a574787df8e1ad5234b1a9fc (patch)
treef4fb6c65be621b95a0a6496740e4e9c45cd18011 /scripts
parent239a77f800b2babfc05bcda959c04106eaca2394 (diff)
fix bulktoolchain target
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-sys6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create-sys b/scripts/create-sys
index 6e61e017c..ffa0ed70f 100755
--- a/scripts/create-sys
+++ b/scripts/create-sys
@@ -3,11 +3,11 @@ topdir=$(readlink -nf $(dirname $0)/.. 2>/dev/null || (cd $(dirname $0)/..; pwd
systems=$(grep -h config target/*/sys-available/*|cut -d " " -f 2)
while read arch; do
- count=1
+ count=0
+ rm -rf $topdir/target/$arch/sys-enabled &&
mkdir -p $topdir/target/$arch/sys-enabled &&
cd $topdir/target/$arch/sys-enabled &&
- ln -sf ../sys-available/toolchain-$arch 0-toolchain-$arch
- for i in $(ls $topdir/target/$arch/sys-available/|grep -v toolchain);do
+ for i in $(ls $topdir/target/$arch/sys-available/);do
cd $topdir/target/$arch/sys-enabled/ &&
ln -sf ../sys-available/$i $count-$i
count=$((count+1))