diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-20 17:39:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-20 17:39:56 +0000 |
commit | db4aaf8d59e1903a0c33b207df7efe54261630fe (patch) | |
tree | 4e101fd7e434bb1d48e82acee6de21d943f98389 /make/custom/gen68360.cfg | |
parent | Patch from Eric Norum <eric@skatter.usask.ca>: (diff) | |
download | rtems-db4aaf8d59e1903a0c33b207df7efe54261630fe.tar.bz2 |
Patch from Eric Norum <eric@skatter.usask.ca>:
I've included a version of make/custom/gen68360.cfg that works with
this. Note that I've removed the option of using `-m68020
-msoft-float -mno-bitfield' as an alternative to using `-mcpu32'.
The alternative won't work with the new system (since it predefines
__mc68020__ and not __mcpu32__), and didn't really work before anyway
(since the newlib that gets linked was built with `-m68020
-msoft-float' and so could contain bitfield operators).
Diffstat (limited to '')
-rw-r--r-- | make/custom/gen68360.cfg | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/make/custom/gen68360.cfg b/make/custom/gen68360.cfg index 0f3807cb43..afec62435c 100644 --- a/make/custom/gen68360.cfg +++ b/make/custom/gen68360.cfg @@ -27,21 +27,12 @@ CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg RTEMS_BSP=gen68360 # -# mc68360 notes: -# If your version of gcc supports the -mcpu32 option use the top -# version, otherwise use the bottom set of flags to accomplish the -# same thing. +# You must use versions of gcc and gas that support the -mcpu32 option. # -# NOTE: Before binutils 2.6, the -mcpu32 flag was not available -# if your gas does understand this, then use the alternative. - ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes) CPU_CFLAGS= -m68040 else -#CPU_CFLAGS = -mcpu32 -msoft-float -CPU_CFLAGS = -m68020 -mnobitfield -msoft-float -# When using the -m68020 cpu flag, we need to explicitly define these -CPU_DEFINES=-Dmcpu32 -D__mcpu32__ $(DEFINES) +CPU_CFLAGS = -mcpu32 endif # optimize flag: typically -0, could use -O4 or -fast |