mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 13:57:49 +08:00
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 :)
34 lines
1.4 KiB
INI
34 lines
1.4 KiB
INI
#
|
|
# Config file for a PowerPC MPC860-based MBX860-005b card.
|
|
#
|
|
|
|
#
|
|
# All MBX8xx configurations share the same base file, only a few
|
|
# parameters differ.
|
|
#
|
|
|
|
RTEMS_MBX_MODEL=mbx860_005b
|
|
|
|
# The 860_005b has 16M ram : org = 0x0, l = 16M
|
|
MBX8xx_LDFLAGS=-Wl,--defsym -Wl,HeapSize=0x100000
|
|
|
|
include $(RTEMS_ROOT)/make/custom/mbx8xx.cfg
|
|
define make-target-options
|
|
@echo "#ifdef mpc$(CPU_TYPE)" >>$@
|
|
@echo "#undef mpc$(CPU_TYPE)" >>$@
|
|
@echo "#endif" >>$@
|
|
@echo "#define mpc$(CPU_TYPE) 1" >>$@
|
|
@echo >>$@
|
|
@echo "#define CONSOLE_MINOR SMC1_MINOR" >>$@
|
|
@echo "#define UARTS_USE_INTERRUPTS 0" >>$@
|
|
@echo "#define EPPCBUG_SMC1 1" >>$@
|
|
@echo "#define EPPCBUG_VECTORS 1" >>$@
|
|
@echo "#define INSTRUCTION_CACHE_ENABLE 1" >>$@
|
|
@echo "#define DATA_CACHE_ENABLE 1" >>$@
|
|
@echo >>$@
|
|
@echo "#define PPC_VECTOR_FILE_BASE 0x0000" >>$@
|
|
@echo "#define PPC_USE_SPRG 0" >>$@
|
|
@echo "/* #define PPC_USE_DATA_CACHE 1" */ >>$@
|
|
@echo >>$@
|
|
endef
|