summaryrefslogtreecommitdiffstats
path: root/make/custom/p4600.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/p4600.cfg')
-rw-r--r--make/custom/p4600.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg
index 4dd64d9d7d..d97013ff6d 100644
--- a/make/custom/p4600.cfg
+++ b/make/custom/p4600.cfg
@@ -6,8 +6,6 @@
include $(RTEMS_ROOT)/make/custom/default.cfg
-# I think we can get this from the generated target.cfg.
-# RTEMS_CPU=mips
RTEMS_CPU_MODEL=R4600
# This is the actual bsp directory used during the build process.
@@ -16,10 +14,15 @@ RTEMS_BSP_FAMILY=p4000
CPU_CFLAGS=-mcpu=4600 -G0
CCMIPS_CFLAGS_CPU=-cpu=r4600
+ifeq ($(RTEMS_CPU),mips64orion)
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
+endif
-# This section makes the target dependent options file.
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+CPU_CFLAGS = -mips3 -G0
+# This section makes the target dependent options file.
define make-target-options
endef