Changeset 560aae24 in rtems for aclocal/enable-rtemsbsp.m4


Ignore:
Timestamp:
Jan 29, 2001, 3:27:25 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ed3ec25
Parents:
37222c7e
Message:

2001-01-26 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP, RTEMS_ENV_RTEMSCPU.
  • aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add special treatment for GCC_SPECS.
  • aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add special treatment for GCC_SPECS.
  • aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE.
  • aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack.
  • automake/compile.am: New treatment of CPP, GCCSPECS, use .. instead of $(shell ..) for LIBC_LIB*.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/enable-rtemsbsp.m4

    r37222c7e r560aae24  
    1414esac],[$1=""])
    1515])
    16 
    17 dnl Pass a single BSP via an environment variable
    18 dnl used by per BSP configure scripts
    19 AC_DEFUN(RTEMS_ENV_RTEMSBSP,
    20 [dnl
    21 AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
    22 AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
    23 AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
    24 
    25 AC_MSG_CHECKING([for RTEMS_BSP])
    26 AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
    27 [dnl
    28   test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
    29 ])dnl
    30 if test -z "$rtems_cv_RTEMS_BSP"; then
    31   AC_MSG_ERROR([Missing RTEMS_BSP])
    32 fi
    33 RTEMS_BSP="$rtems_cv_RTEMS_BSP"
    34 AC_MSG_RESULT(${RTEMS_BSP})
    35 AC_SUBST(RTEMS_BSP)
    36 
    37 RTEMS_ENABLE_BARE
    38 AC_SUBST(BARE_CPU_MODEL)
    39 AC_SUBST(BARE_CPU_CFLAGS)
    40 
    41 RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
    42 AC_SUBST(RTEMS_ROOT)
    43 AM_CONDITIONAL(RTEMS_CONFIG_PER_BSP, test x = x);
    44 ])
    45 
    46 AC_DEFUN(RTEMS_ENV_RTEMSCPU,
    47 [AC_REQUIRE([RTEMS_ENABLE_MULTILIB])
    48 
    49 if test x"$multilib" = x"no"; then
    50   RTEMS_ENV_RTEMSBSP
    51   RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    52 else
    53   rtems_cv_RTEMS_BSP="multilib"
    54   RTEMS_BSP="$rtems_cv_RTEMS_BSP"
    55   AC_SUBST(RTEMS_BSP)
    56   RTEMS_ROOT=$PROJECT_ROOT/c
    57   AC_SUBST(RTEMS_ROOT)
    58 fi
    59 ])
Note: See TracChangeset for help on using the changeset viewer.