source: rtems/c/src/lib/libbsp/configure.in @ 847dbbe

4.104.114.84.95
Last change on this file since 847dbbe was 847dbbe, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 1, 2000 at 1:41:54 PM

Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • The fix for the gen68360/network/Makefile.am
  • automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :).
  • automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus)

NOTES:

  • This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet).
  • This patch is against rtem-cvs as of this morning (MET).

To apply:

patch -p1 <rtems-rc-20000118-5.diff
cvs rm -f ./c/src/lib/libbsp/Makefile.in
cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
cvs rm -f ./c/src/lib/libcpu/Makefile.in
cvs add ./c/src/lib/libbsp/Makefile.am
cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
cvs add ./c/src/lib/libcpu/Makefile.am
./bootstrap

  • Property mode set to 100644
File size: 1.4 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(README)
7RTEMS_TOP(../../../..)
8AC_CONFIG_AUX_DIR(../../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no)
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_LIBCDIR
16RTEMS_ENABLE_BARE
17
18RTEMS_ENV_RTEMSBSP
19
20RTEMS_CHECK_CPU
21RTEMS_CANONICAL_HOST
22
23RTEMS_PROJECT_ROOT
24
25dnl check target cc
26RTEMS_PROG_CC_FOR_TARGET
27RTEMS_CANONICALIZE_TOOLS
28
29RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
30RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
31
32RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
33
34# Is there code where there should be for this BSP?
35# The bare bsp is a special case as it is not under the RTEMS_CPU path
36case $bspdir in
37  bare)
38    bspcpudir=
39    if test "X${BARE_CPU_CFLAGS}" = "X" ; then
40      AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
41    fi
42    if test "X${BARE_CPU_MODEL}" = "X" ; then
43      AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
44    fi
45    ;;
46  *)
47    bspcpudir=$RTEMS_CPU/
48    ;;
49esac
50
51if test "$RTEMS_BSP" = "bare" ; then
52  RTEMS_LIBBSP_CPU_SUBDIR="bare"
53else
54  RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
55fi
56AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
57cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
58
59AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
60AC_CONFIG_SUBDIRS($cfg_subdirs)
61
62# Explicitly list all Makefiles
63AC_OUTPUT(
64Makefile
65shmdr/Makefile)
Note: See TracBrowser for help on using the repository browser.