From a0b7a078db9605e5d1ba80fc099ea4e811df2cb9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Oct 1998 18:38:53 +0000 Subject: Patch from Eric Norum : 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. --- make/custom/gen68360.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3