summaryrefslogtreecommitdiff
path: root/site-qemu.exp
blob: d8e408e8751726954f5a49f0a7974f3ae3c37da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
lappend boards_dir "TARGETDIR"

case "$target_triplet" in {

   { "arm*-*-eabi*" "arm*-*-elf*" "xscale*-*-elf*" } {
       global SIM
       set target_list { "myarm-sim{TARGLIST}" }
       set SIM "QEMU_WRAPPER"
   }

   { "arm*-*-*linux*" } {
       set target_list { "qemu{TARGLIST}" }
   }

   { "aarch64*-*-elf*" } {
      set target_list { "aarch64-none-elf-foundation{TARGLIST}" }
      # Because of the way the Foundation model is invoked we have to wrap it in
      # an invoke script.
      global SIM
      set SIM "TARGETDIR/invoke-foundation-v8-bare-metal.sh"
   }

   { "aarch64*-*-linux-gnu" } {
       # Do not enable this until we have a correct Foundation model
       # setup for the Linux target.
       #set target_list { "aarch64-linux" }
       # QEMU works better
       set target_list { "qemu{TARGLIST}" }
   }

}

match_max -d 30000