source: rtems/configure.in @ 39607984

4.104.114.84.9
Last change on this file since 39607984 was 39607984, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 12, 2000 at 7:23:14 PM

Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@…>
that is yet another multilib-related structual cleanup patch:

Changes:

  • Make RTEMS_DEBUG a global per-cpu configuration option
  • Remove RTEMS_DEBUG from targopts.h
  • Add a global --enable-rtems-debug option disabled by default.
  • Add RTEMS_DEBUG to cpuopts.h
  • Remove all references to RTEMS_DEBUG from custom/*.cfg

Notes:

  • RTEMS_DEBUG is set in c/src/exec/configure.in only (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only. BSPs should not redefine it, but use the value being provided by cpuopts.h. => With multilibs, users have to choose: Either enable RTEMS_DEBUG

for all BSPs and CPU_MODELs of a cpu or not.

  • Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default to disabled.
  • This patch influences the per-BSP building scheme. Existing BSPs which set RTEMS_DEBUG in their make-target-options rule might have problems at runtime.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(c)
7RTEMS_TOP(.)
8
9# Abort if trying to build inside of the source tree.
10if test -f VERSION; then
11  rm -f config.cache config.log confdefs.h
12  AC_MSG_ERROR([***]
13    [Attempt to build inside of the source tree]
14    [Please use a separate build directory, instead] )
15fi
16
17RTEMS_CANONICAL_TARGET_CPU
18AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no)
19AM_MAINTAINER_MODE
20
21dnl RTEMS_ENABLE_BARE
22dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
23
24dnl These option are only in here to let --help report all supported
25dnl options.
26RTEMS_ENABLE_MULTIPROCESSING
27RTEMS_ENABLE_POSIX
28RTEMS_ENABLE_ITRON
29RTEMS_ENABLE_NETWORKING
30RTEMS_ENABLE_RDBG
31RTEMS_ENABLE_INLINES
32RTEMS_ENABLE_CXX
33RTEMS_ENABLE_GCC28
34RTEMS_ENABLE_LIBCDIR
35RTEMS_ENABLE_TESTS
36RTEMS_ENABLE_RTEMS_DEBUG
37
38RTEMS_CHECK_CPU
39RTEMS_CANONICAL_HOST
40
41AC_CONFIG_SUBDIRS(tools/build)
42AC_CONFIG_SUBDIRS(tools/update)
43AC_CONFIG_SUBDIRS(tools/cpu)
44
45# List all subdirectories to be compiled for the target here
46RTEMS_CONFIG_SUBDIRS(c)
47
48if test "$target_alias" != "$host_alias"; then
49changequote(,)dnl
50TARGET_SUBDIRS=`echo "$target_subdirs" | \
51 sed -e "s%\([a-zA-Z0-9][a-zA-Z0-9]*\)%${target_alias}/\1%g"`
52changequote([,])dnl
53else
54TARGET_SUBDIRS="$target_subdirs"
55fi
56AC_SUBST(TARGET_SUBDIRS)
57
58# Explicitly list all Makefiles here
59AC_OUTPUT(
60Makefile
61tools/Makefile
62make/Makefile
63make/custom/Makefile
64make/Templates/Makefile
65make/compilers/Makefile
66doc/Makefile)
67
68RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.