diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-01 18:38:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-01 18:38:53 +0000 |
commit | a0b7a078db9605e5d1ba80fc099ea4e811df2cb9 (patch) | |
tree | c3620c2b8fe0d48cb0cdeacff2c94fa779c1afb1 /make | |
parent | Updated to reflect Thomas Doerfler (td@imd.m.isar.de) submitting the (diff) | |
download | rtems-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 'make')
-rw-r--r-- | make/custom/gen68360.cfg | 8 |
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 |