summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-01 18:38:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-01 18:38:53 +0000
commita0b7a078db9605e5d1ba80fc099ea4e811df2cb9 (patch)
treec3620c2b8fe0d48cb0cdeacff2c94fa779c1afb1
parent02c14a0bfca9590ddcf759759c49c7fe0096f9b5 (diff)
downloadrtems-a0b7a078db9605e5d1ba80fc099ea4e811df2cb9.tar.bz2
Patch from Eric Norum <eric@skatter.usask.ca>:
Here's a patch to get rid of the `#define RTEMS__mcpu32p__ 1' when gen68360.cfg is being used as a companion for gen68360_040.cfg. The old version worked because of the order of the conditional tests in m68k.h (the check for __mc68040__ is before the test for RTEMS__mcpu32p__) , but I think it might have been a little confusing to others just getting started.
Diffstat (limited to '')
-rw-r--r--make/custom/gen68360.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/make/custom/gen68360.cfg b/make/custom/gen68360.cfg
index cf2293f746..ab06827625 100644
--- a/make/custom/gen68360.cfg
+++ b/make/custom/gen68360.cfg
@@ -47,12 +47,20 @@ START_BASE=start360
# If defined, debug checks in RTEMS and support library code are enabled.
#
+ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
+define make-target-options
+ @echo "/* #define NDEBUG 1 */ " >>$@
+ @echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
+ @echo "/* #define RTEMS_DEBUG 1 */" >>$@
+endef
+else
define make-target-options
@echo "/* #define NDEBUG 1 */ " >>$@
@echo "#define RTEMS_TEST_NO_PAUSE 1" >>$@
@echo "/* #define RTEMS_DEBUG 1 */" >>$@
@echo "#define RTEMS__mcpu32p__ 1" >>$@
endef
+endif
# 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