source: rtems/testsuites/aclocal/env-rtemsbsp.m4 @ 5036495

4.104.114.84.9
Last change on this file since 5036495 was 5036495, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 13, 2005 at 7:14:49 AM

2005-11-13 Ralf Corsepius <ralf.corsepius@…>

  • aclocal/env-rtemsbsp.m4: Remove RTEMS_CPU_MODEL.
  • Property mode set to 100644
File size: 1.0 KB
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_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory])
12
13AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
14AC_MSG_CHECKING([for RTEMS_BSP])
15AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
16[dnl
17  test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
18])dnl
19if test -z "$rtems_cv_RTEMS_BSP"; then
20  AC_MSG_ERROR([Missing RTEMS_BSP])
21fi
22RTEMS_BSP="$rtems_cv_RTEMS_BSP"
23AC_MSG_RESULT(${RTEMS_BSP})
24AC_SUBST(RTEMS_BSP)
25
26RTEMS_ENABLE_BARE
27AC_SUBST(BARE_CPU_MODEL)
28AC_SUBST(BARE_CPU_CFLAGS)
29
30includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
31libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
32
33AC_SUBST([PROJECT_INCLUDE],["\$(PROJECT_ROOT)/lib/include"])
34AC_SUBST([PROJECT_LIB],["\$(PROJECT_ROOT)/lib"])
35AC_SUBST([PROJECT_RELEASE],["\$(PROJECT_ROOT)"])
36
37AC_SUBST([rtems_testsdir],["\$(libdir)/rtems/tests"])
38])
Note: See TracBrowser for help on using the repository browser.