Changeset c63a5cf in rtems for aclocal/bsp-alias.m4


Ignore:
Timestamp:
06/14/00 17:12:23 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ec6968b
Parents:
ac815430
Message:

Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@…> that addresses a couple of
minor configuration issues which popped up when
experimenting with multilibs.

Note: The multigen generated make/custom/bare-*.cfg will still be
non-functional, even after having applied this patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/bsp-alias.m4

    rac815430 rc63a5cf  
    33dnl
    44
    5 dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
    6 dnl convert a bsp alias $1 into its bsp directory $2
    7 AC_DEFUN(RTEMS_BSP_ALIAS,
    8 [
    9   # account for "aliased" bsps which share source code
     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
    109  case $1 in
    1110    mcp750)       $2=motorola_powerpc ;; # Motorola PPC board variant
     
    1918    pc586)        $2=pc386            ;; # i386 - PC with Pentium
    2019    pc686)        $2=pc386            ;; # i386 - PC with PentiumPro
     20    bare*)        $2=bare             ;; # EXP: bare-aliases
    2121    *)            $2=$1;;
    22   esac
    23 ])
     22  esac]
     23)
     24
     25dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
     26dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
     27AC_DEFUN(RTEMS_BSP_ALIAS,
     28[_RTEMS_BSP_ALIAS(ifelse([$1],,[$RTEMS_BSP],[$1]),
     29  ifelse([$2],,[RTEMS_BSP_FAMILY],[$2]))]
     30)
Note: See TracChangeset for help on using the changeset viewer.