Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/conf Suppress warning message:
details: https://anonhg.NetBSD.org/src/rev/4699780c66f1
branches: trunk
changeset: 512726:4699780c66f1
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Jul 15 06:38:07 2001 +0000
description:
Suppress warning message:
warning: duplicate script for target "fp.o" ignored
And delete verbose ifs.
diffstat:
sys/arch/mips/conf/Makefile.mips | 29 +++++++++--------------------
1 files changed, 9 insertions(+), 20 deletions(-)
diffs (63 lines):
diff -r 3609752e8a47 -r 4699780c66f1 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips Sun Jul 15 05:32:31 2001 +0000
+++ b/sys/arch/mips/conf/Makefile.mips Sun Jul 15 06:38:07 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.14 2001/05/29 02:20:24 mrg Exp $
+# $NetBSD: Makefile.mips,v 1.15 2001/07/15 06:38:07 takemura Exp $
# Makefile for NetBSD
#
@@ -201,36 +201,23 @@
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
-SRCS= ${MIPS}/mips/locore.S \
- ${THISMIPS}/${TARGET_MACHINE}/locore_machdep.S \
- param.c ioconf.c ${CFILES} ${SFILES}
.if !empty(IDENT:M-DMIPS1)
-SRCS+= ${MIPS}/mips/locore_mips1.S
+SFILES+=${MIPS}/mips/locore_mips1.S
.endif
.if !empty(IDENT:M-DMIPS3)
-SRCS+= ${MIPS}/mips/locore_mips3.S
+SFILES+=${MIPS}/mips/locore_mips3.S
.endif
.if empty(IDENT:M-DNOFPU)
-SRCS+= ${MIPS}/mips/fp.S
+SFILES+=${MIPS}/mips/fp.S
.endif
+SFILES+=${MIPS}/mips/locore.S \
+ ${THISMIPS}/${TARGET_MACHINE}/locore_machdep.S
+SRCS= param.c ioconf.c ${CFILES} ${SFILES}
depend: .depend
.depend: ${SRCS} assym.h param.c
- ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/locore.S
-.if !empty(IDENT:M-DMIPS1)
- ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/locore_mips1.S
-.endif
-.if !empty(IDENT:M-DMIPS3)
- ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/locore_mips3.S
-.endif
-.if empty(IDENT:M-DNOFPU)
- ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${MIPS}/mips/fp.S
-.endif
- ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${THISMIPS}/${TARGET_MACHINE}/locore_machdep.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
-.if (${SFILES} != "")
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
-.endif
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
${CPPFLAGS} < ${MIPS}/mips/genassym.cf
@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
@@ -263,8 +250,10 @@
locore_mips3.o: ${MIPS}/mips/locore_mips3.S assym.h
${NORMAL_S}
+.if empty(IDENT:M-DNOFPU)
fp.o: ${MIPS}/mips/fp.S assym.h
${NORMAL_S}
+.endif
locore_machdep.o: ${THISMIPS}/${TARGET_MACHINE}/locore_machdep.S assym.h
${NORMAL_S}
Home |
Main Index |
Thread Index |
Old Index