[eb299afc] | 1 | dnl |
---|
| 2 | dnl $Id$ |
---|
| 3 | dnl |
---|
| 4 | |
---|
[c63a5cf] | 5 | dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) |
---|
| 6 | dnl Internal subroutine to RTEMS_BSP_ALIAS |
---|
[3959276e] | 7 | AC_DEFUN([_RTEMS_BSP_ALIAS], |
---|
[c63a5cf] | 8 | [# account for "aliased" bsps which share source code |
---|
[d273d78a] | 9 | case $1 in |
---|
[a533890] | 10 | bare*) $2=bare ;; # EXP: bare-aliases |
---|
[41319435] | 11 | |
---|
[dbe50fd] | 12 | c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb |
---|
[a533890] | 13 | gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode |
---|
[5ca23e5e] | 14 | pghplus) $2=tqm8xx ;; # powerpc - mpc8xx custom board |
---|
| 15 | tqm8xx_stk8xx) $2=tqm8xx ;; # powerpc - tqm8xx on starter kit |
---|
[224aebb3] | 16 | pgh360) $2=gen68360 ;; # m68k - 68360 custom board |
---|
| 17 | m5484FireEngine) $2=genmcf548x ;; # m68k - mcf548x eva board |
---|
[a533890] | 18 | mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board |
---|
[d273d78a] | 19 | mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant |
---|
[174eed8c] | 20 | mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant |
---|
[d273d78a] | 21 | mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant |
---|
[a533890] | 22 | mvme2100) $2=motorola_powerpc ;; # Motorola PPC board variant |
---|
| 23 | mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant |
---|
[75b453f] | 24 | p4600) $2=p4000 ;; # mips - p4000 board w/IDT 4600 |
---|
| 25 | p4650) $2=p4000 ;; # mips - p4000 board w/IDT 4650 |
---|
[b50b3c8] | 26 | pc386dx) $2=pc386 ;; # i386 - PC w/o FPU |
---|
[6d3ab0f] | 27 | pc486) $2=pc386 ;; # i386 - PC with i486DX |
---|
| 28 | pc586) $2=pc386 ;; # i386 - PC with Pentium |
---|
| 29 | pc686) $2=pc386 ;; # i386 - PC with PentiumPro |
---|
[8e57762] | 30 | pck6) $2=pc386 ;; # i386 - PC with K6 |
---|
[c9b005a9] | 31 | brs5l*) $2=gen5200 ;; # MPC5200 based board |
---|
[a533890] | 32 | pm520*) $2=gen5200 ;; # MPC5200 based board |
---|
[8ba985a] | 33 | icecube) $2=gen5200 ;; # MPC5200 based board - LITE5200B |
---|
[574fb67] | 34 | mpc55??evb) $2=mpc55xxevb ;; # MPC5566EVB based board |
---|
[f610e83f] | 35 | mpc8349eamds) $2=gen83xx ;; # MPC8349 based board |
---|
[e35c696] | 36 | hsc_cm01) $2=gen83xx ;; # MPC8349 based board |
---|
[574fb67] | 37 | mpc8313erdb) $2=gen83xx ;; # MPC83XX based board |
---|
[db58e51] | 38 | rtl22xx_t) $2=rtl22xx ;; # rtl22xx bsp in thumb mode |
---|
[fd1c1c9] | 39 | lpc2478) $2=lpc24xx ;; # LPC2478 (QVGA Base Board from Embedded Artists) |
---|
[a533890] | 40 | simcpu32) $2=sim68000 ;; # BSVC CPU32 variant |
---|
[227ae749] | 41 | simsh7032) $2=shsim ;; # SH7032 simulator |
---|
| 42 | simsh7045) $2=shsim ;; # SH7045 simulator |
---|
[a533890] | 43 | sis) $2=erc32 ;; # erc32 SIS simulator |
---|
[d273d78a] | 44 | *) $2=$1;; |
---|
[c63a5cf] | 45 | esac] |
---|
| 46 | ) |
---|
| 47 | |
---|
| 48 | dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) |
---|
| 49 | dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY |
---|
[3959276e] | 50 | AC_DEFUN([RTEMS_BSP_ALIAS], |
---|
[9c392aa2] | 51 | [_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]), |
---|
| 52 | m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))] |
---|
[c63a5cf] | 53 | ) |
---|