diff --git a/sys/arch/hpcmips/conf/Makefile.hpcmips b/sys/arch/hpcmips/conf/Makefile.hpcmips index bc8dba3df7f5..4a64d25b850d 100644 --- a/sys/arch/hpcmips/conf/Makefile.hpcmips +++ b/sys/arch/hpcmips/conf/Makefile.hpcmips @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.hpcmips,v 1.2 1999/11/21 07:04:31 uch Exp $ +# $NetBSD: Makefile.hpcmips,v 1.3 2000/01/01 02:15:38 shin Exp $ # Makefile for NetBSD # @@ -52,7 +52,7 @@ CWARNFLAGS?= -Wall -Wstrict-prototypes -Wmissing-prototypes \ .if (${HAVE_GCC28} != "") CWARNFLAGS+= -Wno-main .endif -GP?= -G 0 +GP?= -G 32 CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${GP} \ -mno-abicalls -mno-half-pic AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE @@ -94,9 +94,10 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< # ${SYSTEM_LD} swapxxx.o # ${SYSTEM_LD_TAIL} SYSTEM_OBJ= locore.o locore_machdep.o -.if !empty(IDENT:M-DMIPS1) +# VR4100/TX3900 core supports pipeline interlock & branch likely instruction CFLAGS+= -mips2 AFLAGS+= -mips2 +.if !empty(IDENT:M-DMIPS1) SYSTEM_OBJ+= locore_mips1.o .endif .if !empty(IDENT:M-DMIPS3)