source: rtems/aclocal/check-bsp-cache.m4 @ 89b51f4

4.104.114.84.9
Last change on this file since 89b51f4 was d69c9c6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 9, 2002 at 4:25:56 AM

2002-08-09 Ralf Corsepius <corsepiu@…>

  • aclocal/check-bsp-cache.m4: Convert to autoconf-2.5x quoting rules. Add RTEMS_BSP_CFLAGS, RTEMS_BSP_CFLAGS_OPTIMIZE_V, RTEMS_BSP_CFLAGS_DEBUG_V, RTEMS_BSP_CFLAGS_PROFILE_V.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1dnl $Id$
2
3dnl RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
4AC_DEFUN([RTEMS_CHECK_BSP_CACHE],
5[
6AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
7AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl set RTEMS_BSP
8AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
9
10AC_CACHE_CHECK([for RTEMS_CPU_MODEL], [rtems_cv_RTEMS_CPU_MODEL],
11[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
12RTEMS_CPU_MODEL=$rtems_cv_RTEMS_CPU_MODEL
13AC_SUBST(RTEMS_CPU_MODEL)
14
15AC_CACHE_CHECK([for RTEMS_BSP_FAMILY],[rtems_cv_RTEMS_BSP_FAMILY],
16[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
17RTEMS_BSP_FAMILY=$rtems_cv_RTEMS_BSP_FAMILY
18AC_SUBST(RTEMS_BSP_FAMILY)
19
20AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS],[rtems_cv_RTEMS_BSP_CFLAGS],
21[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
22RTEMS_BSP_CFLAGS=$rtems_cv_RTEMS_BSP_CFLAGS
23AC_SUBST(RTEMS_BSP_CFLAGS)
24
25AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_OPTIMIZE_V],[rtems_cv_RTEMS_BSP_CFLAGS_OPTIMIZE_V],
26[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
27RTEMS_BSP_CFLAGS_OPTIMIZE_V=$rtems_cv_RTEMS_BSP_CFLAGS_OPTIMIZE_V
28AC_SUBST(RTEMS_BSP_CFLAGS_OPTIMIZE_V)
29
30AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_DEBUG_V],[rtems_cv_RTEMS_BSP_CFLAGS_DEBUG_V],
31[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
32RTEMS_BSP_CFLAGS_DEBUG_V=$rtems_cv_RTEMS_BSP_CFLAGS_DEBUG_V
33AC_SUBST(RTEMS_BSP_CFLAGS_DEBUG_V)
34
35AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_PROFILE_V],[rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V],
36[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
37RTEMS_BSP_CFLAGS_PROFILE_V=$rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V
38AC_SUBST(RTEMS_BSP_CFLAGS_PROFILE_V)
39])
Note: See TracBrowser for help on using the repository browser.