2001-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* aclocal/check-bsps.m4: Reworked.
	* aclocal/bsp-alias.m4: Add score603e_g1, apply m4sugar.
This commit is contained in:
Joel Sherrill
2001-11-15 16:50:33 +00:00
parent 4fa90c0b0e
commit 9c392aa281
3 changed files with 25 additions and 26 deletions

View File

@@ -25,6 +25,7 @@ AC_DEFUN(_RTEMS_BSP_ALIAS,
erc32nfp) $2=erc32 ;; # erc32 without fpu
leon1) $2=leon ;; # leon without fpu
leon2) $2=leon ;; # leon with fpu
score603e_g1) $2=score603e ;; # score603e generation 1
simsh7032) $2=shsim ;; # SH7032 simulator
simsh7045) $2=shsim ;; # SH7045 simulator
*) $2=$1;;
@@ -34,6 +35,6 @@ AC_DEFUN(_RTEMS_BSP_ALIAS,
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]))]
[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
)