summaryrefslogtreecommitdiffstats
path: root/make/custom/p4000.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/p4000.cfg')
-rw-r--r--make/custom/p4000.cfg12
1 files changed, 9 insertions, 3 deletions
diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg
index 32e10086a5..7c2e22ba4c 100644
--- a/make/custom/p4000.cfg
+++ b/make/custom/p4000.cfg
@@ -4,15 +4,21 @@
# $Id$
#
-# NOTE: this file is broken !
-
+# NOTE: This file is shared between the mips and mips64orion
+# "ports". The following defines are needed by the mips64orion
+# but not the mips.
+ifeq ($(RTEMS_CPU),mips64orion)
CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
+endif
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=p4000
-# 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