From dfadb4d959da4c63d0c634f0d50713f3fa679e50 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 2 Jan 2011 13:22:45 +0100 Subject: make bulk fixes. fix toolchain building for sparc64/ppc --- scripts/update-sys | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts/update-sys') 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 -- cgit v1.2.3