Changeset 39607984 in rtems for make/custom/mbx860_005b.cfg


Ignore:
Timestamp:
Jul 12, 2000, 7:23:14 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ea56a072
Parents:
8bb456a
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/mbx860_005b.cfg

    r8bb456a r39607984  
    3535        @echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
    3636        @echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
    37         @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
    3837endef
Note: See TracChangeset for help on using the changeset viewer.