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

4.104.114.84.95
Last change on this file since e453d5c was b8a30d07, checked in by Joel Sherrill <joel.sherrill@…>, on 07/13/00 at 15:05:38

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

Changes:

  • Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    • Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and cpuopts.h.
    • Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE (aclocal/rtems-test-no-pause.m4).
    • Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins and tmtests/configure.in. These are the only subdirectories which currently apply RTEMS_TEST_NO_PAUSE.
    • Add autoconf-DEFS support to all test subpackages' configure.ins below tests/. I.e. AC_DEFINES now get explicitly propagated as preprocessor defines into Makefiles, cf. AM_CPPFLAGS in tests/*/*.am, instead of using a global config-files.
    • Remove NDEBUG from custom/*.cfg.
  • AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in exec/configure.in, only.
    • All other sources now should relay on the values from cpuopts.h and should not define them themselves.
    • Several related changes to many configure.ins
  • Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to quoting bugs in autoconf).

Notes:

  • This patch is rather immature and only tested for a small subset of BSPs (requires the tests to be enabled and therefore takes an tremendous amount of disc space and time.)
  • The patches to *cfg were generated by a script. Expect file formating changes :)
  • Property mode set to 100644
File size: 1.4 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                                               >>$@
33endef
Note: See TracBrowser for help on using the repository browser.