diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 17:12:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-14 17:12:23 +0000 |
commit | c63a5cfe572cb016ef681d8b4404e007e1e122ab (patch) | |
tree | 6c12a7c42fcbb01ff6079258e1fca139d6f81315 /aclocal/bsp-alias.m4 | |
parent | Patch rtems-rc-20000614-sh.tar.gz from Ralf Corsepius (diff) | |
download | rtems-c63a5cfe572cb016ef681d8b4404e007e1e122ab.tar.bz2 |
Patch rtems-rc-20000614-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> 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.
Diffstat (limited to 'aclocal/bsp-alias.m4')
-rw-r--r-- | aclocal/bsp-alias.m4 | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/aclocal/bsp-alias.m4 b/aclocal/bsp-alias.m4 index e574ef44a2..37b55c753f 100644 --- a/aclocal/bsp-alias.m4 +++ b/aclocal/bsp-alias.m4 @@ -2,11 +2,10 @@ dnl dnl $Id$ dnl -dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED) -dnl convert a bsp alias $1 into its bsp directory $2 -AC_DEFUN(RTEMS_BSP_ALIAS, -[ - # account for "aliased" bsps which share source code +dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) +dnl Internal subroutine to RTEMS_BSP_ALIAS +AC_DEFUN(_RTEMS_BSP_ALIAS, +[# account for "aliased" bsps which share source code case $1 in mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant @@ -18,6 +17,14 @@ AC_DEFUN(RTEMS_BSP_ALIAS, pc486) $2=pc386 ;; # i386 - PC with i486DX pc586) $2=pc386 ;; # i386 - PC with Pentium pc686) $2=pc386 ;; # i386 - PC with PentiumPro + bare*) $2=bare ;; # EXP: bare-aliases *) $2=$1;; - esac -]) + esac] +) + +dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY) +dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY +AC_DEFUN(RTEMS_BSP_ALIAS, +[_RTEMS_BSP_ALIAS(ifelse([$1],,[$RTEMS_BSP],[$1]), + ifelse([$2],,[RTEMS_BSP_FAMILY],[$2]))] +) |