forked from Imagelibrary/rtems
Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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 :)
This commit is contained in:
@@ -31,14 +31,10 @@ CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# RTEMS_UNIX (unix)
|
||||
# Define this to indicate this is an RTEMS UNIX port.
|
||||
|
||||
define make-target-options
|
||||
echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
echo "#define RTEMS_UNIX 1 " >>$@
|
||||
endef
|
||||
|
||||
@@ -48,6 +44,5 @@ define make-exe
|
||||
$(SIZE) $@
|
||||
endef
|
||||
|
||||
|
||||
# *****************************************************************
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#
|
||||
# Config file for the FreeBSD 2.x based RTEMS UNIX
|
||||
#
|
||||
#
|
||||
|
||||
RTEMS_CPU=unix
|
||||
RTEMS_CPU_FAMILY=i386
|
||||
@@ -22,21 +20,16 @@ LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED
|
||||
LIBC_DEFINES += -DWORKSPACE_MB=2
|
||||
LIBC_DEFINES += -DHEAPSPACE_MB=1
|
||||
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# RTEMS_UNIX (unix)
|
||||
# Define this to indicate this is an RTEMS UNIX port.
|
||||
|
||||
define make-target-options
|
||||
echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
echo "#define RTEMS_UNIX 1 " >>$@
|
||||
endef
|
||||
|
||||
@@ -46,6 +39,5 @@ define make-exe
|
||||
$(SIZE) $@
|
||||
endef
|
||||
|
||||
|
||||
# *****************************************************************
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -35,14 +35,10 @@ CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# RTEMS_UNIX (unix)
|
||||
# Define this to indicate this is an RTEMS UNIX port.
|
||||
|
||||
define make-target-options
|
||||
echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
echo "#define RTEMS_UNIX 1 " >>$@
|
||||
endef
|
||||
|
||||
|
||||
@@ -31,14 +31,10 @@ CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# RTEMS_UNIX (unix)
|
||||
# Define this to indicate this is an RTEMS UNIX port.
|
||||
|
||||
define make-target-options
|
||||
echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
echo "#define RTEMS_UNIX 1 " >>$@
|
||||
endef
|
||||
|
||||
@@ -48,6 +44,5 @@ define make-exe
|
||||
$(SIZE) $@
|
||||
endef
|
||||
|
||||
|
||||
# *****************************************************************
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -28,14 +28,10 @@ CFLAGS_OPTIMIZE_V = -O2
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# RTEMS_UNIX (unix)
|
||||
# Define this to indicate this is an RTEMS UNIX port.
|
||||
|
||||
define make-target-options
|
||||
echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
echo "#define RTEMS_UNIX 1 " >>$@
|
||||
endef
|
||||
|
||||
@@ -47,5 +43,4 @@ endef
|
||||
|
||||
# *****************************************************************
|
||||
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -21,12 +21,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# this target has no start file
|
||||
|
||||
@@ -27,12 +27,7 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -28,17 +28,12 @@ BSP_CPPFLAGS = -DUSE_CHANNEL_A
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# USE_CHANNEL_A (DMV152)
|
||||
# USE_CHANNEL_B (DMV152)
|
||||
# One and only one of these should be set to 1 to indicate which
|
||||
# serial port is used as the RTEMS console.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
# @echo "#define USE_CHANNEL_A 1" >>$@
|
||||
# @echo "#define USE_CHANNEL_B 0" >>$@
|
||||
endef
|
||||
|
||||
@@ -18,9 +18,6 @@ RTEMS_BSP_FAMILY=dmv177
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# CONSOLE_USE_POLLED (psim_bsp)
|
||||
# CONSOLE_USE_INTERRUPTS (psim_bsp)
|
||||
# The psim console driver has the structure to operate in either
|
||||
@@ -52,7 +49,6 @@ RTEMS_BSP_FAMILY=dmv177
|
||||
# The BSP actually contains the call that enables this.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@
|
||||
@echo "#define CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@
|
||||
@echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
|
||||
|
||||
@@ -21,12 +21,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
@@ -55,5 +50,4 @@ define make-exe
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -25,12 +25,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -30,9 +30,6 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
|
||||
# This makes the target dependent options file
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# NO_TABLE_MOVE (SPARC PORT)
|
||||
# do not have a second trap table -- use the BSP's
|
||||
#
|
||||
@@ -55,7 +52,6 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define NO_TABLE_MOVE 1" >>$@
|
||||
@echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@
|
||||
@echo "#define CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@
|
||||
@@ -63,8 +59,6 @@ define make-target-options
|
||||
@echo "#define FPU_REVB 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
# is currently required. It is expected that as of gcc 2.8, the end user
|
||||
# will be able to override parts of the compilers specs and link using gcc.
|
||||
|
||||
@@ -17,9 +17,6 @@ CPU_DEFINES=
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# PPC_VECTOR_FILE_BASE (PowerPC)
|
||||
# This defines the base address of the exception table.
|
||||
# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
|
||||
@@ -45,7 +42,6 @@ define make-target-options
|
||||
@echo "#endif" >>$@
|
||||
@echo "#define mpc$(CPU_TYPE) 1" >>$@
|
||||
@echo >>$@
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPC_VECTOR_FILE_BASE 0x0000" >>$@
|
||||
@echo "#define PPC_ABI PPC_ABI_EABI" >>$@
|
||||
@echo "#define PPC_ASM PPC_ASM_ELF" >>$@
|
||||
@@ -88,4 +84,3 @@ endif
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
|
||||
@@ -26,12 +26,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -20,12 +20,8 @@ CPU_CFLAGS = -mcpu32
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
@@ -71,5 +67,4 @@ endef
|
||||
# $(basename $@).exe $(basename $@).ieee
|
||||
endif
|
||||
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -32,17 +32,11 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
else
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define RTEMS__mcpu32p__ 1" >>$@
|
||||
endef
|
||||
endif
|
||||
@@ -76,5 +70,4 @@ define make-exe
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -38,15 +38,9 @@ CFLAGS_OPTIMIZE_V = -O4
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
# is currently required. It is expected that as of gcc 2.8, the end user
|
||||
# will be able to override parts of the compilers specs and link using gcc.
|
||||
|
||||
@@ -41,9 +41,6 @@ CFLAGS_OPTIMIZE_V = -O4
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# STANDALONE_EVB
|
||||
# This switch compiles code to jump-start from FLASH, without a monitor
|
||||
#
|
||||
@@ -53,13 +50,11 @@ CFLAGS_OPTIMIZE_V = -O4
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define RTEMS_TEST_IO_STREAM 1" >>$@
|
||||
@echo "/* #define STANDALONE_EVB 1 */" >>$@
|
||||
@echo "#define START_HW_INIT 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
# is currently required. It is expected that as of gcc 2.8, the end user
|
||||
# will be able to override parts of the compilers specs and link using gcc.
|
||||
|
||||
@@ -24,12 +24,7 @@ CFLAGS_OPTIMIZE_V=-O0 -g
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -20,9 +20,6 @@ RTEMS_BSP_FAMILY=helas403
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# PPC_VECTOR_FILE_BASE (PowerPC)
|
||||
# This defines the base address of the exception table.
|
||||
# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
|
||||
@@ -34,7 +31,6 @@ RTEMS_BSP_FAMILY=helas403
|
||||
# other tools like debuggers.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
|
||||
@echo "#define PPC_USE_SPRG 1" >>$@
|
||||
endef
|
||||
@@ -78,4 +74,3 @@ endif
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
|
||||
@@ -24,12 +24,7 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# Something like this should produce a map file but this does not work.
|
||||
|
||||
@@ -24,12 +24,7 @@ CFLAGS_OPTIMIZE_V=-O0 -g
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -14,12 +14,7 @@ RTEMS_BSP_FAMILY=idp
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
|
||||
@@ -30,5 +30,4 @@ define make-target-options
|
||||
@echo "#define PPC_USE_SPRG 0" >>$@
|
||||
@echo "/* #define PPC_USE_DATA_CACHE 1" */ >>$@
|
||||
@echo >>$@
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
@@ -104,11 +104,6 @@ endif # mbx821
|
||||
# If defined, then the PowerPC specific code in RTEMS will use
|
||||
# data cache instructions to optimize the context switch code.
|
||||
# This code can conflict with debuggers or emulators.
|
||||
#
|
||||
# RTEMS generic options:
|
||||
#
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# If defined, do not pause between screens of output in the rtems tests.
|
||||
|
||||
define make-target-options
|
||||
@echo "#ifdef mpc$(CPU_TYPE)" >>$@
|
||||
@@ -127,7 +122,6 @@ define make-target-options
|
||||
@echo "#define PPC_USE_SPRG 0" >>$@
|
||||
@echo "/* #define PPC_USE_DATA_CACHE 1" */ >>$@
|
||||
@echo >>$@
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
|
||||
@@ -15,9 +15,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# PPC_VECTOR_FILE_BASE (ppc)
|
||||
# This defines the base address of the exception table.
|
||||
# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
|
||||
@@ -35,7 +32,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPCN_60X_USE_DINK 0" >>$@
|
||||
@echo "#define PPCN_60X_USE_NONE 1" >>$@
|
||||
@echo "#define PPC_USE_DATA_CACHE 1" >>$@
|
||||
@@ -66,7 +62,6 @@ CFLAGS_OPTIMIZE_V=-O4 -mmultiple -mstring -mstrict-align
|
||||
# BSP using inlined code
|
||||
CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align
|
||||
|
||||
|
||||
# The following is a ld command file which works without using the
|
||||
# -specs system in gcc 2.8. IT HAS NEVER BEEN TESTED WITH THIS BSP!!!
|
||||
# $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
|
||||
|
||||
@@ -24,12 +24,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
@@ -59,5 +54,3 @@ endef
|
||||
endif
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -21,12 +21,7 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
@@ -56,4 +51,3 @@ endef
|
||||
endif
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
|
||||
@@ -42,13 +42,9 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
|
||||
define make-target-options
|
||||
@echo "#undef $(RTEMS_MVME162_MODEL)" >>$@
|
||||
@echo "#define $(RTEMS_MVME162_MODEL)" >>$@
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -35,9 +35,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# CD2401_INT_LEVEL
|
||||
# Interrupt level for the CD2401.
|
||||
#
|
||||
@@ -45,7 +42,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
# 0 for interrupt-driven, 1 for polled I/O.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
# @echo "#define CD2401_INT_LEVEL 1" >>$@
|
||||
# @echo "#define CD2401_POLLED_IO 1" >>$@
|
||||
|
||||
|
||||
@@ -15,9 +15,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# CONSOLE_USE_POLLED (mvme2307_bsp)
|
||||
# CONSOLE_USE_INTERRUPTS (mvme2307_bsp)
|
||||
# The mvme2307 console driver has the structure to operate in either
|
||||
@@ -36,7 +33,6 @@ RTEMS_BSP_FAMILY=motorola_powerpc
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPCN_60X_USE_DINK 0" >>$@
|
||||
@echo "#define PPCN_60X_USE_NONE 1" >>$@
|
||||
@echo "#define PPC_USE_DATA_CACHE 1" >>$@
|
||||
@@ -92,7 +88,6 @@ define make-exe
|
||||
# ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
|
||||
endef
|
||||
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
# No start file
|
||||
|
||||
@@ -37,12 +37,7 @@ CFLAGS_DEBUG_V =
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -13,15 +13,9 @@ RTEMS_BSP_FAMILY=p4000
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
@@ -19,15 +19,9 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
@@ -19,15 +19,9 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
# optimize flag: typically -0, could use -O4 or -fast
|
||||
# -O4 is ok for RTEMS
|
||||
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
|
||||
|
||||
@@ -14,9 +14,6 @@ RTEMS_BSP_FAMILY=papyrus
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# PPC_VECTOR_FILE_BASE (PowerPC)
|
||||
# This defines the base address of the exception table.
|
||||
# NOTE: Vectors are actually at 0xFFF00000 but file starts at offset 0x0100
|
||||
@@ -28,7 +25,6 @@ RTEMS_BSP_FAMILY=papyrus
|
||||
# other tools like debuggers.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPC_VECTOR_FILE_BASE 0x0100" >>$@
|
||||
@echo "#define PPC_USE_SPRG 1" >>$@
|
||||
endef
|
||||
@@ -72,4 +68,3 @@ endif
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
|
||||
|
||||
@@ -27,12 +27,7 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "/* #define RTEMS_TEST_NO_PAUSE 1 */" >>$@
|
||||
endef
|
||||
|
||||
# Here is the rule to actually build a $(ARCH)/foo.exe
|
||||
|
||||
@@ -16,15 +16,9 @@ RTEMS_BSP_FAMILY=portsw
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
|
||||
ifeq ($(RTEMS_USE_GCC272),yes)
|
||||
define make-exe
|
||||
$(LD) $(LDFLAGS) -N -e _start \
|
||||
|
||||
@@ -16,9 +16,6 @@ RTEMS_BSP_FAMILY=ppcn_60x
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# PPCN_60X_USE_DINK (ppcn_60x_bsp)
|
||||
# PPCN_60X_USE_NONE (ppcn_60x_bsp)
|
||||
# The Score603e board can be configured with 3 ROM monitors. Only two
|
||||
@@ -42,7 +39,6 @@ RTEMS_BSP_FAMILY=ppcn_60x
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define PPCN_60X_USE_DINK 1" >>$@
|
||||
@echo "#define PPCN_60X_USE_NONE 0" >>$@
|
||||
@echo "#define PPC_USE_DATA_CACHE 1" >>$@
|
||||
|
||||
@@ -14,9 +14,6 @@ RTEMS_BSP_FAMILY=psim
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# CONSOLE_USE_POLLED (psim_bsp)
|
||||
# CONSOLE_USE_INTERRUPTS (psim_bsp)
|
||||
# The psim console driver has the structure to operate in either
|
||||
@@ -38,10 +35,7 @@ RTEMS_BSP_FAMILY=psim
|
||||
# response time. The use of these registers can conflict with
|
||||
# other tools like debuggers.
|
||||
|
||||
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@
|
||||
@echo "#define CONSOLE_USE_POLLED !CONSOLE_USE_INTERRUPTS" >>$@
|
||||
@echo "#define PSIM_FAST_IDLE 1" >>$@
|
||||
|
||||
@@ -28,11 +28,7 @@ CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
endef
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
|
||||
@@ -15,7 +15,6 @@ ifeq ($(SCORE603E_GENERATION),)
|
||||
SCORE603E_GENERATION=2
|
||||
endif
|
||||
|
||||
|
||||
# This is the actual bsp directory used during the build process.
|
||||
|
||||
RTEMS_BSP_FAMILY=score603e
|
||||
@@ -34,9 +33,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# CONSOLE_USE_POLLED (score603e_bsp)
|
||||
# CONSOLE_USE_INTERRUPTS (score603e_bsp)
|
||||
# The score603e console driver has the structure to operate in either
|
||||
@@ -67,7 +63,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define CONSOLE_USE_INTERRUPTS 0" >>$@
|
||||
@echo "#define INITIALIZE_COM_PORTS 1" >>$@
|
||||
@echo "#define SCORE603E_GENERATION $(SCORE603E_GENERATION)" >>$@
|
||||
|
||||
@@ -37,9 +37,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
|
||||
# This makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# SIMHPPA_FAST_IDLE (simhppa)
|
||||
# If defined, speed up the clock ticks while the idle task is running so
|
||||
# time spent in the idle task is minimized. This significantly reduces
|
||||
@@ -47,7 +44,6 @@ CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
||||
#
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "#define SIMHPPA_FAST_IDLE 1 " >>$@
|
||||
endef
|
||||
|
||||
@@ -93,7 +89,6 @@ LD_LOC_OPTIONS=-Tdata $(DATA_$(NODE)_BASE) -Ttext $(TEXT_$(NODE)_BASE)
|
||||
GCC_LD_LOC_OPTIONS=-W,l-T -W,ldata -W,l$(DATA_$(NODE)_BASE) \
|
||||
-W,l-T -W,ltext -W,l$(TEXT_$(NODE)_BASE)
|
||||
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
# is currently required. It is expected that as of gcc 2.8, the end user
|
||||
# will be able to override parts of the compilers specs and link using gcc.
|
||||
|
||||
@@ -25,9 +25,6 @@ CFLAGS_OPTIMIZE_V= -O4
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# RTEMS_TEST_NO_PAUSE (RTEMS tests)
|
||||
# do not pause between screens of output in the rtems tests
|
||||
#
|
||||
# BSP_DEBUG (BSP)
|
||||
# Enables some debugging in the BSP package.
|
||||
#
|
||||
@@ -36,7 +33,6 @@ CFLAGS_OPTIMIZE_V= -O4
|
||||
# some tests.
|
||||
|
||||
define make-target-options
|
||||
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
|
||||
@echo "/* #define UARTDEBUG 1 */" >>$@
|
||||
@echo "/* #define BSP_DEBUG 1 */" >>$@
|
||||
@echo "#define LOAD_RTC_AT_START 1" >>$@
|
||||
|
||||
Reference in New Issue
Block a user