svn commit: r242072 - head/sys/conf
Warner Losh
imp at FreeBSD.org
Thu Oct 25 04:55:05 UTC 2012
Author: imp
Date: Thu Oct 25 04:55:04 2012
New Revision: 242072
URL: http://svn.freebsd.org/changeset/base/242072
Log:
Remove the links: target. It too is homelessly outdated since it
relies on the outdated defines list. It likely hasn't been useful in
15 years, and certainly not in the last decade.
Modified:
head/sys/conf/kern.post.mk
Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk Thu Oct 25 04:46:58 2012 (r242071)
+++ head/sys/conf/kern.post.mk Thu Oct 25 04:55:04 2012 (r242072)
@@ -154,7 +154,7 @@ ${mfile:T:S/.m$/.h/}: ${mfile}
kernel-clean:
rm -f *.o *.so *.So *.ko *.s eddep errs \
${FULLKERNEL} ${KERNEL_KO} ${KERNEL_KO}.symbols \
- linterrs makelinks tags vers.c \
+ linterrs tags vers.c \
vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h \
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
${CLEAN}
@@ -237,14 +237,6 @@ ${_ILINKS}:
kernel-cleandepend:
rm -f .depend ${_ILINKS}
-links:
- egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
- sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
- ${MAKE} -V CFILES | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
- sort -u | comm -23 - dontlink | \
- sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
- sh makelinks; rm -f dontlink
-
kernel-tags:
@[ -f .depend ] || { echo "you must make depend first"; exit 1; }
sh $S/conf/systags.sh
More information about the svn-src-all
mailing list