source: rtems/aclocal/env-rtemsbsp.m4 @ 34094cc

4.104.114.84.95
Last change on this file since 34094cc was 2608a535, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 2, 2001 at 6:32:12 PM

2001-02-02 Ralf Corsepius <corsepiu@…>

  • aclocal/env-rtemsbsp.m4, aclocal/env-rtemscpu.m4: Add -B$(PROJECT_ROOT)/ to GCC_SPECS.
  • Property mode set to 100644
File size: 957 bytes
Line 
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
11AC_MSG_CHECKING([for RTEMS_BSP])
12AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
13[dnl
14  test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
15])dnl
16if test -z "$rtems_cv_RTEMS_BSP"; then
17  AC_MSG_ERROR([Missing RTEMS_BSP])
18fi
19RTEMS_BSP="$rtems_cv_RTEMS_BSP"
20AC_MSG_RESULT(${RTEMS_BSP})
21AC_SUBST(RTEMS_BSP)
22
23RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
24AC_SUBST(RTEMS_BSP_SPECS)
25
26GCC_SPECS="-B\$(PROJECT_ROOT)/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
27AC_SUBST(GCC_SPECS)
28
29RTEMS_ROOT=$PROJECT_ROOT/c/$RTEMS_BSP
30AC_SUBST(RTEMS_ROOT)
31
32RTEMS_ENABLE_BARE
33AC_SUBST(BARE_CPU_MODEL)
34AC_SUBST(BARE_CPU_CFLAGS)
35
36AM_CONDITIONAL(RTEMS_CONFIG_PER_BSP, test x = x);
37
38includedir="\${exec_prefix}/\$(RTEMS_BSP)/lib/include"
39])
Note: See TracBrowser for help on using the repository browser.