summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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