diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-15 19:26:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-15 19:26:57 +0200 |
commit | bbfa3ca2154df9d7a574787df8e1ad5234b1a9fc (patch) | |
tree | f4fb6c65be621b95a0a6496740e4e9c45cd18011 /scripts | |
parent | 239a77f800b2babfc05bcda959c04106eaca2394 (diff) |
fix bulktoolchain target
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-sys | 6 |
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)) |