forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user