Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/conf compile kernel with
details: https://anonhg.NetBSD.org/src/rev/efa21ca7e42f
branches: trunk
changeset: 480064:efa21ca7e42f
user: shin <shin%NetBSD.org@localhost>
date: Sat Jan 01 02:15:38 2000 +0000
description:
compile kernel with
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
diffstat:
sys/arch/hpcmips/conf/Makefile.hpcmips | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 23be765a44e9 -r efa21ca7e42f sys/arch/hpcmips/conf/Makefile.hpcmips
--- a/sys/arch/hpcmips/conf/Makefile.hpcmips Fri Dec 31 22:27:59 1999 +0000
+++ b/sys/arch/hpcmips/conf/Makefile.hpcmips Sat Jan 01 02:15:38 2000 +0000
@@ -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 @@
.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 @@
# ${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)
Home |
Main Index |
Thread Index |
Old Index