From f8b891dcbf05674bd67fd172f21d93491e0e58a6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 8 Jan 2001 18:14:01 +0000 Subject: 2001-01-08 Joel Sherrill * custom/p4000.cfg, custom/p4600.cfg, custom/p4650.cfg: Remove unneeded definitions when compiled for "mips" rather than "mips64orion." Correct CPU_CFLAGS. --- make/custom/p4650.cfg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'make/custom/p4650.cfg') diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg index 2672ef80aa..7e672a43d2 100644 --- a/make/custom/p4650.cfg +++ b/make/custom/p4650.cfg @@ -6,20 +6,22 @@ include $(RTEMS_ROOT)/make/custom/default.cfg -# I think we can get this from the generated target.cfg. -# RTEMS_CPU=mips RTEMS_CPU_MODEL=R4650 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=p4000 -CPU_CFLAGS=-m4650 -G0 CCMIPS_CFLAGS_CPU=-cpu=r4650 +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 = -m4650 -mips3 -G0 +# This section makes the target dependent options file. define make-target-options endef -- cgit v1.2.3