path: root/make/custom/gen68360.cfg
diff options
authorJoel Sherrill <>1998-03-20 17:39:56 +0000
committerJoel Sherrill <>1998-03-20 17:39:56 +0000
commitdb4aaf8d59e1903a0c33b207df7efe54261630fe (patch)
tree4e101fd7e434bb1d48e82acee6de21d943f98389 /make/custom/gen68360.cfg
parent25804b60777d9c5171f72b9ec673faa16c314cda (diff)
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).
Diffstat (limited to '')
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
-# 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
-#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
# optimize flag: typically -0, could use -O4 or -fast