source: rtems/aclocal/env-rtemscpu.m4 @ dee576c

4.104.114.84.95
Last change on this file since dee576c was dee576c, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 15, 2002 at 6:57:17 PM

2002-03-14 Ralf Corsepius <corsepiu@…>

  • aclocal/env-rtemscpu.m4: automake-1.6 preparations: Add AM_CONDITIONAL([RTEMS_CONFIG_PER_BSP],[false]).
  • Property mode set to 100644
File size: 983 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENV_RTEMSCPU,
4[AC_REQUIRE([RTEMS_ENABLE_MULTILIB])
5
6if test x"$multilib" = x"yes"; then
7## FIXME: There is no multilib BSP
8  RTEMS_BSP_SPECS=""
9  AC_SUBST(RTEMS_BSP_SPECS)
10
11  if test -n "$with_multisubdir"; then
12    MULTIBUILDTOP=`echo "/$with_multisubdir" | sed 's,/[[^\\/]]*,../,g'`
13  fi
14  AC_SUBST(MULTIBUILDTOP)
15
16  if test -n "$with_multisubdir"; then
17    MULTISUBDIR="/$with_multisubdir"
18  fi
19  AC_SUBST(MULTISUBDIR)
20
21  PROJECT_ROOT="${RTEMS_TOPdir}/\$(MULTIBUILDTOP)\$(top_builddir)"
22  GCC_SPECS="-isystem \$(PROJECT_ROOT)/lib/include"
23  AC_SUBST(GCC_SPECS)
24
25  PROJECT_INCLUDE="\$(PROJECT_ROOT)/lib/include"
26  AC_SUBST(PROJECT_INCLUDE)
27
28  PROJECT_RELEASE="\$(PROJECT_ROOT)"
29  AC_SUBST(PROJECT_RELEASE)
30
31  RTEMS_ROOT=${PROJECT_ROOT}
32  AC_SUBST(RTEMS_ROOT)
33
34  includedir="\${exec_prefix}/lib/include"
35  libdir="${libdir}\$(MULTISUBDIR)"
36  AM_CONDITIONAL([RTEMS_CONFIG_PER_BSP],[false])
37else
38  RTEMS_ENV_RTEMSBSP
39  RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
40fi
41])
Note: See TracBrowser for help on using the repository browser.