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
606b16d0a4
commit
037f649605
@ -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