diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-11 14:56:04 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-07-11 14:56:04 +0000 |
commit | 270e3cce9610120bfc3b818bde99ffaf8f880940 (patch) | |
tree | b6a941caa1d5e125540fb939a7a22e51b8419230 /make | |
parent | Updated to new patch. (diff) | |
download | rtems-270e3cce9610120bfc3b818bde99ffaf8f880940.tar.bz2 |
Patch rtems-rc-20000711-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that decouples exec/ for the sh, m68k and i960 from targopts.h.
NOTE: The change to system.h is a hack to enable cpuopts.h
for some targets, but keep using targopts.h for others - I know it
does *not* work for sparc, mips, i386 and ppc. This will have
to be addressed as work continues on multilibing.
Diffstat (limited to '')
-rw-r--r-- | make/custom/dmv152.cfg | 8 | ||||
-rw-r--r-- | make/custom/mvme167.cfg | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg index 80458060ef..8b38cd4096 100644 --- a/make/custom/dmv152.cfg +++ b/make/custom/dmv152.cfg @@ -19,6 +19,10 @@ RTEMS_BSP_FAMILY=dmv152 CPU_CFLAGS = +# BSP specific preprocessor flags. +# These should only be used in BSP dependent directories. +BSP_CPPFLAGS = -DUSE_CHANNEL_A + # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer @@ -43,8 +47,8 @@ define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ @echo "/* #define RTEMS_DEBUG 1 */" >>$@ - @echo "#define USE_CHANNEL_A 1" >>$@ - @echo "#define USE_CHANNEL_B 0" >>$@ +# @echo "#define USE_CHANNEL_A 1" >>$@ +# @echo "#define USE_CHANNEL_B 0" >>$@ endef # Here is the rule to actually build a $(ARCH)/foo.exe diff --git a/make/custom/mvme167.cfg b/make/custom/mvme167.cfg index ade3c6f68f..889f281bbc 100644 --- a/make/custom/mvme167.cfg +++ b/make/custom/mvme167.cfg @@ -22,6 +22,11 @@ RTEMS_BSP_FAMILY=mvme167 # CPU_CFLAGS = -m68040 -DRTEMS_BSP=$(RTEMS_BSP) + +# BSP specific preprocessor flags. +# These should only be used in BSP dependent directories. +BSP_CPPFLAGS += -DCD2401_INT_LEVEL=1 -DCD2401_POLLED_IO=1 + CFLAGS_DEBUG_V += -ggdb # optimize flag: typically -O, could use -O4 or -fast @@ -49,8 +54,8 @@ define make-target-options @echo "/* #define NDEBUG 1 */ " >>$@ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@ @echo "/* #define RTEMS_DEBUG 1 */" >>$@ - @echo "#define CD2401_INT_LEVEL 1" >>$@ - @echo "#define CD2401_POLLED_IO 1" >>$@ +# @echo "#define CD2401_INT_LEVEL 1" >>$@ +# @echo "#define CD2401_POLLED_IO 1" >>$@ endef |