Changeset c63a5cf in rtems


Ignore:
Timestamp:
06/14/00 17:12:23 (23 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.

Location:
aclocal
Files:
3 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)
  • aclocal/check-multiprocessing.m4

    rac815430 rc63a5cf  
    99AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    1010AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
     11AC_REQUIRE([RTEMS_BSP_ALIAS])dnl
    1112
    1213AC_CACHE_CHECK([whether BSP supports multiprocessing],
    1314  rtems_cv_HAS_MP,
    1415  [dnl
    15     RTEMS_BSP_ALIAS(${$1},bspdir)
    16     if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${bspdir}/shmsupp"; then
     16    if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
    1717      if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
    1818        rtems_cv_HAS_MP="yes" ;
  • aclocal/check-posix.m4

    rac815430 rc63a5cf  
    33AC_DEFUN(RTEMS_CHECK_POSIX_API,
    44[dnl
    5 AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
    65AC_REQUIRE([RTEMS_CHECK_CPU])dnl
    76AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
Note: See TracChangeset for help on using the changeset viewer.