aboutsummaryrefslogtreecommitdiff
path: root/config/linaro.exp
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-06-18 04:28:39 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2014-06-18 04:28:39 +0100
commit0d04b4fbaeaa9cfe2dad30bdc9f221dbe0dcf733 (patch)
tree47907c413d364469276cac2bc7711af12815676d /config/linaro.exp
parentb00c28c0788e4ab5a417714e1d8e1ae5012454de (diff)
Update host->target mappings in config/linaro.exp
Change-Id: I3741dee7cfbc62e677165b0a336fbb7eb116dca8
Diffstat (limited to 'config/linaro.exp')
-rw-r--r--config/linaro.exp28
1 files changed, 11 insertions, 17 deletions
diff --git a/config/linaro.exp b/config/linaro.exp
index 7e4125a..1e1bb60 100644
--- a/config/linaro.exp
+++ b/config/linaro.exp
@@ -17,26 +17,22 @@ set newlib sysroot-newlib.git~linaro_newlib-branch-aarch64-none-elf/
set benewlib sysroot-newlib.git~linaro_newlib-branch-aarch64_be-none-elf/
case "$target_triplet" in {
- { "armeb-*"} {
+ { "armeb*-*"} {
puts "No target hardware for $target_triplet"
}
- { "arm*-*-gnueabi"} {
- puts "No target hardware for $target_triplet"
- }
- { "arm-*-gnueabihf"} {
+ { "arm*-linux-gnueabi*"} {
set myname [get_local_hostname]
case "$myname" in {
{ tcwgrob* } {
# set target_list { tcwgblack tcwgchromebook }
set target_list { arm-odroidU2 }
}
- { tcwgbuild* } {
+ { tcwgbuild* toolchain64 } {
set target_list { tcwgd01 }
}
}
}
-
- { "arm*-*elf*"} {
+ { "arm*-elf*"} {
global SIM
# CPU and sysroot are set through the environment
set SIM "qemu-arm"
@@ -45,7 +41,7 @@ case "$target_triplet" in {
{ "aarch64_be-*-elf*" } {
puts "No target hardware for $target_triplet"
}
- { "aarch64-*-elf*" } {
+ { "aarch64*-elf*" } {
set target_list { "arm-sim" }
set board_info(arm-sim,sim,cflags) " -specs=rdimon.specs"
set board_info(arm-sim,sim,ldflags) " -specs=rdimon.specs"
@@ -56,19 +52,17 @@ case "$target_triplet" in {
puts "No target hardware for $target_triplet"
}
{ "aarch64-*-linux*" } {
- if {} {
- global SIM
- set target_list { "arm-sim" }
- set board_info(arm-sim,sim,options) "-cpu any -R 0 -L $sysroot"
- set SIM "setarch x86_64 -R qemu-aarch64"
- } else {
- set target_list { tcwgapm }
+ set myname [get_local_hostname]
+ case "$myname" in {
+ { tcwgbuild* toolchain64 } {
+ set target_list { tcwgapm }
+ }
}
}
{ "*-linux-gnu*" } {
set myname [get_local_hostname]
case "$myname" in {
- { tcwgbuild* } {
+ { tcwgbuild* toolchain64 } {
set target_list { tcwgbuild }
}
}