summaryrefslogtreecommitdiff
path: root/scripts/update-sys
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-06-12 15:57:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-06-12 15:57:45 +0200
commit2ca840b83ddd797f872bd6cc282991ec2b60e3ed (patch)
tree0b6d4703e7861329111049a85ce88234afc44c81 /scripts/update-sys
parent7109403c1d38cd863782417855775562a6e56b2f (diff)
update default kernel to 2.6.39
Diffstat (limited to 'scripts/update-sys')
-rwxr-xr-xscripts/update-sys6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/update-sys b/scripts/update-sys
index 925b72a1e..bcfbfa84e 100755
--- a/scripts/update-sys
+++ b/scripts/update-sys
@@ -33,6 +33,7 @@ if [ -f $topdir/.config ];then
check_native
arch=$(grep ^ADK_TARGET_ARCH $topdir/.config|cut -f 2 -d = | sed -e 's#"##g')
+cpuarch=$(grep ^ADK_TARGET_CPU_ARCH $topdir/.config|cut -f 2 -d = | sed -e 's#"##g')
systemsym=$(grep ^ADK_TARGET_SYSTEM_ $topdir/.config|cut -f 1 -d =)
system=$(grep ^ADK_TARGET_SYSTEM= $topdir/.config|cut -f 2 -d = | sed -e 's#"##g')
systems=$(grep ^ADK_TARGET_SYSTEM= $topdir/.config|cut -f 2 -d = | sed -e 's#"##g'|sed -e 's#-#_#g')
@@ -49,7 +50,7 @@ config $archsym
EOF
if [ "${system}" = "toolchain" -o "${system}" = "qemu" ];then
- sys=${system}-$arch
+ sys=${system}-$cpuarch
else
sys=$system
fi
@@ -57,7 +58,8 @@ fi
cat > $topdir/target/config/Config.in.system << EOF
source "target/config/Config.in.system.default"
comment "Architecture: $arch"
-comment "System: $system"
+comment "CPU Architecture: $cpuarch"
+comment "System: $sys"
config $systemsym
boolean