summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2009-10-19 19:46:58 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2009-10-19 19:46:58 +0000
commit94bbd10d6310ee51294332b859d32b26b05d932a (patch)
treefbc930fef008997a38a955318ba7d4dc0ce85536 /sys/arch/sgi
parent5259d23908f7083fed7209881bce35238f69875a (diff)
Correct a target name so that we don't rebuild vers.o (and then
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index 434ef5af0c1..61cfe503b18 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.24 2009/08/09 23:04:49 miod Exp $
+# $OpenBSD: Makefile.sgi,v 1.25 2009/10/19 19:46:56 guenther Exp $
# Makefile for OpenBSD
#
@@ -108,10 +108,6 @@ SYSTEM_LD_TAIL+=; \
%LOAD
-newvers:
- sh $S/conf/newvers.sh
- ${CC} $(CFLAGS) -c vers.c
-
clean::
rm -f eddep bsd bsd.gdb tags *.[io] [a-z]*.s \
[Ee]rrs linterrs makelinks assym.h ${DB_STRUCTINFO}
@@ -154,9 +150,6 @@ links:
tags:
@echo "see $S/kern/Makefile for tags"
-ioconf.o: ioconf.c
- ${NORMAL_C}
-
param.c: $S/conf/param.c
rm -f param.c
cp $S/conf/param.c .
@@ -167,7 +160,10 @@ param.o: param.c Makefile
mcount.o: $S/lib/libkern/mcount.c Makefile
${NORMAL_C_NOP}
-newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
+ioconf.o: ioconf.c
+ ${NORMAL_C}
+
+vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP}
sh $S/conf/newvers.sh
${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c