source: rtems/c/src/lib/libbsp/configure.in @ 073e2411

4.104.114.84.95
Last change on this file since 073e2411 was e0ba3e8, checked in by Joel Sherrill <joel.sherrill@…>, on 07/10/00 at 19:23:38

Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@…>
that addresses aspects of the targopts.h multilib related
issues.

Changes:

  • Move targopts.h to libbsp/include, because the current targopts.h actually is a per-BSP-header and therefore can not stay below exec/.
  • Introduce an autoheader generated header file (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu configuration options only.
  • Move all autoconf-detectable/configure specified per-cpu option-defines from targopts.h to cpuopts.h.
  • Add Makefiles to the libbsp/shared directory hierarchy.

Notes:

  • The new per-bsp targopts.h in libbsp includes the per-cpu cpuopts.h. This way, the new targopts.h is kept backward compatible to the old targopts.h and existing BSPs which (carelessly) include targopts.h (i386, ppc) should be kept working when using the multilib-disabled configuration scheme.
  • cpuopts.h is not yet complete, because the per-BSP make-targopts rules from custom/<BSP>.cfg files can not be applied to files below exec/ when building multilibs.
  • All files below exec/ should not include targopts.h anymore, but should include cpuopts.h instead. However, eliminating inclusion of targopts.h currently triggers further structural / header file inclusion related issues, because several ports apply BSP or CPU_MODEL specific defines from targopts.h below exec/
  • Property mode set to 100644
File size: 1.1 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_PROG_CC_FOR_TARGET
16RTEMS_CANONICALIZE_TOOLS
17RTEMS_ENABLE_BARE
18
19RTEMS_ENV_RTEMSBSP
20
21RTEMS_CHECK_CPU
22RTEMS_CANONICAL_HOST
23
24RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
25RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
26
27RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
28
29# Is there code where there should be for this BSP?
30# The bare bsp is a special case as it is not under the RTEMS_CPU path
31if test "$bspdir" = "bare" ; then
32  RTEMS_LIBBSP_CPU_SUBDIR="bare"
33else
34  RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU
35fi
36AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR)
37cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR"
38
39AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
40AC_CONFIG_SUBDIRS($cfg_subdirs)
41
42RTEMS_PROJECT_ROOT
43
44# Explicitly list all Makefiles here
45AC_OUTPUT(
46Makefile
47shmdr/Makefile
48shared/Makefile
49shared/include/Makefile
50include/Makefile
51include/rtems/Makefile
52include/rtems/score/Makefile
53)
Note: See TracBrowser for help on using the repository browser.