source: rtems/aclocal/env-rtemsbsp.m4 @ e712997

4.104.114.84.95
Last change on this file since e712997 was e712997, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 13, 2001 at 1:14:30 PM

2001-07-19 Ralf Corsepius <corsepiu@…>

  • configure.in: autoupdate to autoconf-2.52.
  • bootstrap: Add handling for configure.ac, make autoheader verbose, fix auto*tool invocation order.
  • aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-gcc28: Introduce AC_HELP_STRING.
  • aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
  • aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
  • aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in RTEMS_CONFIG_PER_BSP conditional.
  • aclocal/multilib.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
  • aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
  • Property mode set to 100644
File size: 996 bytes
RevLine 
[560aae24]1dnl $Id$
2
3dnl Pass a single BSP via an environment variable
4dnl used by per BSP configure scripts
5AC_DEFUN(RTEMS_ENV_RTEMSBSP,
6[dnl
7AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
8AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
9AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
10
[e712997]11AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
[560aae24]12AC_MSG_CHECKING([for RTEMS_BSP])
13AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
14[dnl
15  test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
16])dnl
17if test -z "$rtems_cv_RTEMS_BSP"; then
18  AC_MSG_ERROR([Missing RTEMS_BSP])
19fi
20RTEMS_BSP="$rtems_cv_RTEMS_BSP"
21AC_MSG_RESULT(${RTEMS_BSP})
22AC_SUBST(RTEMS_BSP)
23
24RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
25AC_SUBST(RTEMS_BSP_SPECS)
26
[2608a535]27GCC_SPECS="-B\$(PROJECT_ROOT)/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
[560aae24]28AC_SUBST(GCC_SPECS)
29
30RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
31AC_SUBST(RTEMS_ROOT)
32
33RTEMS_ENABLE_BARE
34AC_SUBST(BARE_CPU_MODEL)
35AC_SUBST(BARE_CPU_CFLAGS)
36
[e712997]37AM_CONDITIONAL(RTEMS_CONFIG_PER_BSP, true);
[560aae24]38
39includedir="\${exec_prefix}/\$(RTEMS_BSP)/lib/include"
40])
Note: See TracBrowser for help on using the repository browser.