mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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.
This commit is contained in:
parent
0754e367ff
commit
7e527d6d70
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242072
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user