source: rtems/aclocal/bsp-alias.m4 @ 24dc66c

4.104.115
Last change on this file since 24dc66c was 58236c8f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/01/09 at 21:49:22

2009-10-01 Joel Sherrill <joel.sherrill@…>

  • aclocal/bsp-alias.m4: Add BSP for GDB ARM simulator so we can easily experiment with and debug different ARM architectural variations.
  • Property mode set to 100644
File size: 3.4 KB
Line 
1dnl
2dnl  $Id$
3dnl
4
5dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
6dnl Internal subroutine to RTEMS_BSP_ALIAS
7AC_DEFUN([_RTEMS_BSP_ALIAS],
8[# account for "aliased" bsps which share source code
9  case $1 in
10    bare*)        $2=bare             ;; # EXP: bare-aliases
11
12    arm7tdmi)     $2=gdbarmsim        ;; # arm simulator in gdb
13    arm920)       $2=gdbarmsim        ;; # arm simulator in gdb
14    arm1136jfs)   $2=gdbarmsim        ;; # arm simulator in gdb
15    arm1136js)    $2=gdbarmsim        ;; # arm simulator in gdb
16    armcortexa9)  $2=gdbarmsim        ;; # arm simulator in gdb
17    c3xsim)       $2=c4xsim           ;; # TI C3x Simulator in gdb
18    csb637)       $2=csb337           ;; # Cogent CSB637
19    gen68360_040) $2=gen68360         ;; # m68k - 68360 in companion mode
20    h8sxsim)      $2=h8sim            ;; # h8sim built for h8sx
21    pghplus)      $2=tqm8xx           ;; # powerpc - mpc8xx custom board
22    tqm8xx_stk8xx) $2=tqm8xx          ;; # powerpc - tqm8xx on starter kit
23    pgh360)       $2=gen68360         ;; # m68k - 68360 custom board
24    m5484FireEngine) $2=genmcf548x    ;; # m68k - mcf548x eva board
25    mbx8*)        $2=mbx8xx           ;; # MBX821/MBX860 board
26    mcp750)       $2=motorola_powerpc ;; # Motorola PPC board variant
27    mtx603e)      $2=motorola_powerpc ;; # Motorola PPC board variant
28    mvme162lx)    $2=mvme162          ;; # m68k - mvme162 board variant
29    mvme2100)     $2=motorola_powerpc ;; # Motorola PPC board variant
30    mvme2307)     $2=motorola_powerpc ;; # Motorola PPC board variant
31    m32csim)      $2=m32cbsp          ;; # M32C on gdb simulator
32    p4600)        $2=p4000            ;; # mips - p4000 board w/IDT 4600
33    p4650)        $2=p4000            ;; # mips - p4000 board w/IDT 4650
34    pc386dx)      $2=pc386            ;; # i386 - PC w/o FPU
35    pc486)        $2=pc386            ;; # i386 - PC with i486DX
36    pc586)        $2=pc386            ;; # i386 - PC with Pentium
37    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
38    brs5l*)       $2=gen5200          ;; # MPC5200 based board
39    pm520*)       $2=gen5200          ;; # MPC5200 based board
40    icecube)      $2=gen5200          ;; # MPC5200 based board - LITE5200B
41    mpc55??evb)   $2=mpc55xxevb       ;; # MPC5566EVB based board
42    mpc8349eamds) $2=gen83xx          ;; # MPC8349 based board
43    hsc_cm01)     $2=gen83xx          ;; # MPC8349 based board
44    mpc8313erdb)  $2=gen83xx          ;; # MPC83XX based board
45    rtl22xx_t)    $2=rtl22xx          ;; # rtl22xx bsp in thumb mode
46    lpc2478)      $2=lpc24xx          ;; # LPC2478 (QVGA Base Board from Embedded Artists)
47    lpc2478_ncs)  $2=lpc24xx          ;; # LPC2478 (NCS)
48    lpc2478_ncs_ram) $2=lpc24xx       ;; # LPC2478 (NCS, code and data in external RAM)
49    simcpu32)     $2=sim68000         ;; # BSVC CPU32 variant
50    simsh1)       $2=shsim            ;; # SH1 simulator in GDB
51    simsh2)       $2=shsim            ;; # SH2 simulator in GDB
52    simsh2e)       $2=shsim           ;; # SH2e simulator in GDB
53    simsh4)       $2=shsim            ;; # SH4 simulator in GDB
54    sis)          $2=erc32            ;; # erc32 SIS simulator
55    *)            $2=$1;;
56  esac]
57)
58
59dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
60dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
61AC_DEFUN([RTEMS_BSP_ALIAS],
62[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
63  m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
64)
Note: See TracBrowser for help on using the repository browser.