4.104.114.84.95
Last change
on this file since b00a141 was
39607984,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/12/00 at 19:23:14
|
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 | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(c) |
---|
7 | RTEMS_TOP(.) |
---|
8 | |
---|
9 | # Abort if trying to build inside of the source tree. |
---|
10 | if 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] ) |
---|
15 | fi |
---|
16 | |
---|
17 | RTEMS_CANONICAL_TARGET_CPU |
---|
18 | AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no) |
---|
19 | AM_MAINTAINER_MODE |
---|
20 | |
---|
21 | dnl RTEMS_ENABLE_BARE |
---|
22 | dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp) |
---|
23 | |
---|
24 | dnl These option are only in here to let --help report all supported |
---|
25 | dnl options. |
---|
26 | RTEMS_ENABLE_MULTIPROCESSING |
---|
27 | RTEMS_ENABLE_POSIX |
---|
28 | RTEMS_ENABLE_ITRON |
---|
29 | RTEMS_ENABLE_NETWORKING |
---|
30 | RTEMS_ENABLE_RDBG |
---|
31 | RTEMS_ENABLE_INLINES |
---|
32 | RTEMS_ENABLE_CXX |
---|
33 | RTEMS_ENABLE_GCC28 |
---|
34 | RTEMS_ENABLE_LIBCDIR |
---|
35 | RTEMS_ENABLE_TESTS |
---|
36 | RTEMS_ENABLE_RTEMS_DEBUG |
---|
37 | |
---|
38 | RTEMS_CHECK_CPU |
---|
39 | RTEMS_CANONICAL_HOST |
---|
40 | |
---|
41 | AC_CONFIG_SUBDIRS(tools/build) |
---|
42 | AC_CONFIG_SUBDIRS(tools/update) |
---|
43 | AC_CONFIG_SUBDIRS(tools/cpu) |
---|
44 | |
---|
45 | # List all subdirectories to be compiled for the target here |
---|
46 | RTEMS_CONFIG_SUBDIRS(c) |
---|
47 | |
---|
48 | if test "$target_alias" != "$host_alias"; then |
---|
49 | changequote(,)dnl |
---|
50 | TARGET_SUBDIRS=`echo "$target_subdirs" | \ |
---|
51 | sed -e "s%\([a-zA-Z0-9][a-zA-Z0-9]*\)%${target_alias}/\1%g"` |
---|
52 | changequote([,])dnl |
---|
53 | else |
---|
54 | TARGET_SUBDIRS="$target_subdirs" |
---|
55 | fi |
---|
56 | AC_SUBST(TARGET_SUBDIRS) |
---|
57 | |
---|
58 | # Explicitly list all Makefiles here |
---|
59 | AC_OUTPUT( |
---|
60 | Makefile |
---|
61 | tools/Makefile |
---|
62 | make/Makefile |
---|
63 | make/custom/Makefile |
---|
64 | make/Templates/Makefile |
---|
65 | make/compilers/Makefile |
---|
66 | doc/Makefile) |
---|
67 | |
---|
68 | RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS) |
---|
Note: See
TracBrowser
for help on using the repository browser.