source: rtems/make/custom/mbx860_005b.cfg @ 39607984

4.104.114.84.95
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.6 KB
Line 
1#
2#  Config file for a PowerPC MPC860-based MBX860-005b card.
3#
4
5#
6#  All MBX8xx configurations share the same base file, only a few
7#  parameters differ.
8
9
10RTEMS_MBX_MODEL=mbx860_005b
11
12# The 860_005b has 16M ram : org = 0x0, l = 16M
13MBX8xx_LDFLAGS=-Wl,--defsym -Wl,HeapSize=0x100000
14
15include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
16define make-target-options
17        @echo "#ifdef mpc$(CPU_TYPE)"                       >>$@
18        @echo "#undef mpc$(CPU_TYPE)"                       >>$@
19        @echo "#endif"                                      >>$@
20        @echo "#define mpc$(CPU_TYPE) 1"                    >>$@
21        @echo                                               >>$@
22        @echo "#define CONSOLE_MINOR SMC1_MINOR"            >>$@
23        @echo "#define UARTS_USE_INTERRUPTS 0"              >>$@
24        @echo "#define EPPCBUG_SMC1 1"                      >>$@
25        @echo "#define EPPCBUG_VECTORS 1"                   >>$@
26        @echo "#define INSTRUCTION_CACHE_ENABLE 1"          >>$@
27        @echo "#define DATA_CACHE_ENABLE 1"                 >>$@
28        @echo                                               >>$@
29        @echo "#define PPC_VECTOR_FILE_BASE 0x0000"         >>$@
30        @echo "#define PPC_USE_SPRG 0"                      >>$@
31        @echo "/* #define PPC_USE_DATA_CACHE 1" */          >>$@
32        @echo                                               >>$@
33        @echo "/* #define NDEBUG 1 */ "                     >>$@
34        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
35        @echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
36        @echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
37endef
Note: See TracBrowser for help on using the repository browser.