summaryrefslogtreecommitdiff
path: root/scripts/update-sys
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-02 13:22:45 +0100
commitdfadb4d959da4c63d0c634f0d50713f3fa679e50 (patch)
tree0b4d2ac5065e36bcc9850aa394bd6b163e6a833b /scripts/update-sys
parentebad1f5ce74dfa9dead8d84c4d91051c68dc4e33 (diff)
make bulk fixes. fix toolchain building for sparc64/ppc
Diffstat (limited to 'scripts/update-sys')
-rwxr-xr-xscripts/update-sys10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/update-sys b/scripts/update-sys
index e6a72bd77..d242e67c3 100755
--- a/scripts/update-sys
+++ b/scripts/update-sys
@@ -43,9 +43,15 @@ fi
cat > $topdir/target/config/Config.in.arch << EOF
source "target/config/Config.in.arch.default"
config $archsym
- bool
+ boolean
EOF
+if [ "${system}" = "toolchain" ];then
+ sys=${system}-$arch
+else
+ sys=$system
+fi
+
cat > $topdir/target/config/Config.in.system << EOF
source "target/config/Config.in.system.default"
comment "Architecture: $arch"
@@ -54,7 +60,7 @@ comment "System: $system"
config $systemsym
boolean
select $archsym
-$(grep select $topdir/target/$arch/sys-available/$system)
+$(grep select $topdir/target/$arch/sys-available/$sys)
default y
EOF
else