summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.i386
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-08-04 23:51:59 +0000
committernate <nate@FreeBSD.org>1993-08-04 23:51:59 +0000
commitf0d11b6bf5fa75bb5f59b57795dcd450a1bf433b (patch)
tree4567cc93bfefacc1891e0704a851da19b0e2af78 /sys/conf/Makefile.i386
parent3e13f7d8871ddccb646637b23950c25ab6242a42 (diff)
downloadFreeBSD-src-f0d11b6bf5fa75bb5f59b57795dcd450a1bf433b.zip
FreeBSD-src-f0d11b6bf5fa75bb5f59b57795dcd450a1bf433b.tar.gz
Fix the problem where newvers gets called every time make is run on
the kernel.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r--sys/conf/Makefile.i38625
1 files changed, 4 insertions, 21 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 7eedfb8..5bd8122 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -18,24 +18,7 @@
# -DTRACE compile in kernel tracing hooks
# -DQUOTA compile in file system quotas
#
-# PATCHES MAGIC LEVEL PATCH THAT GOT US HERE
-# -------------------- ----- ----------------------
-# CURRENT PATCH LEVEL: 3 00158
-# -------------------- ----- ----------------------
-#
-# 29 Jun 92 Chris G. Demetriou Fix vers.o for kernel profiling and
-# plain old link
-# 25 Mar 93 Sean Eric Fagan Add support for assembler source
-# 25 Apr 93 Bruce Evans Support for intr-0.0, and some fixes
-# Rodney W. Grimes Added depedencies for conf.o due to
-# all the new drivers. And to param.c
-# because there were missing.
-# 26 May 97 Rodney W. Grimes Remove extra SYSTEM_LD_TAIL
-# Redirect stderr from dbsym to null,
-# this is bad, but atleast I won't get
-# 100's of bug reports about the silly
-# warning from dbsym.
-#
+
TOUCH= touch -f -c
LD= /usr/bin/ld
CC= cc
@@ -47,7 +30,7 @@ I386= ../../i386
INCLUDES= -I. -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DNPX
ASFLAGS=
-CFLAGS= -O ${COPTS}
+CFLAGS= -O ${DEBUG} ${COPTS}
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
@@ -118,7 +101,7 @@ genassym:
${I386}/i386/genassym.c -o genassym
depend: assym.s param.c
- sh /usr/bin/mkdep ${COPTS} ${CFILES} ioconf.c
+ sh /usr/bin/mkdep ${COPTS} ${CFILES} ioconf.c param.c ${I386}/i386/conf.c
sh /usr/bin/mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${I386}/i386/genassym.c
links:
@@ -154,7 +137,7 @@ param.c: $S/conf/param.c \
param.o: param.c Makefile
${CC} -c ${CFLAGS} ${PARAM} param.c
-newvers:
+vers.o: ${SYSTEM_DEP}
sh $S/conf/newvers.sh ${KERN_IDENT} ${IDENT}
${CC} ${CFLAGS} -c vers.c
OpenPOWER on IntegriCloud