source: rtems/aclocal/bsp-configure.m4 @ 73defea0

4.104.114.84.9
Last change on this file since 73defea0 was 6fea3824, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 7, 2002 at 1:06:23 PM

2002-12-07 Ralf Corsepius <corsepiu@…>

  • aclocal/bsp-configure.m4: Remove RTEMS_CHECK_BSP_CACHE.
  • aclocal/env-rtemsbsp.m4: Add comments to AC_ARG_VARs. Add AC_ARG_VAR(RTEMS_CPU_MODEL).
  • Property mode set to 100644
File size: 1.2 KB
Line 
1dnl $Id$
2
3dnl RTEMS_BSP_CONFIGURE
4dnl Common macro to be included by all bsp-configure.acs
5AC_DEFUN([RTEMS_BSP_CONFIGURE],
6[
7  AC_PREREQ([2.52])
8  AM_MAINTAINER_MODE
9  RTEMS_ENV_RTEMSBSP
10
11  RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
12
13  RTEMS_CANONICAL_HOST
14  AM_CONFIG_HEADER([include/bspopts.tmp:include/bspopts.h.in],[
15echo "/* BSP dependent options file */"         >$tmp/config.h
16echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h
17echo                                                  >>$tmp/config.h
18echo "#ifndef __BSP_OPTIONS_h"                        >>$tmp/config.h
19echo "#define __BSP_OPTIONS_h"                        >>$tmp/config.h
20echo                                                  >>$tmp/config.h
21sed -e '/.*PACKAGE.*/d' include/bspopts.tmp >> $tmp/config.h
22echo                                                  >>$tmp/config.h
23echo "#endif"                                         >>$tmp/config.h
24  AS_IF([cmp -s include/bspopts.h $tmp/config.h 2>/dev/null],[
25    AC_MSG_NOTICE([include/bspopts.h is unchanged])
26    rm -f $tmp/config.h],[
27    AC_MSG_NOTICE([creating include/bspopts.h])
28    rm -f include/bspopts.h
29    mv $tmp/config.h include/bspopts.h
30  ])
31])
32  RTEMS_PROJECT_ROOT
33
34  RTEMS_CHECK_MULTIPROCESSING
35])
Note: See TracBrowser for help on using the repository browser.