From db4aaf8d59e1903a0c33b207df7efe54261630fe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Mar 1998 17:39:56 +0000 Subject: Patch from Eric Norum : 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). --- make/custom/gen68360.cfg | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'make/custom/gen68360.cfg') 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 -- cgit v1.2.3