mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
Makefile.inc1: remove old (2018) stale dependency hacks
We handle a number of stale dependency issues on an ad-hoc basis, in order to support ongoing NO_CLEAN builds. These hacks do not need to be maintained indefinitely; now remove those for issues that are more than a year old. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
77cb3b49b7
commit
f1af40b54b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359286
@ -962,9 +962,8 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
fi
|
||||
.endif
|
||||
.endfor
|
||||
# 20180604 r334626 brk sbrk
|
||||
# 20190916 r352703 shm_open
|
||||
.for f in brk sbrk shm_open
|
||||
.for f in shm_open
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
egrep -qw '${f}\.[sS]' ${OBJTOP}/lib/libc/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for ${f} syscall wrappers"; \
|
||||
@ -972,37 +971,6 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
${_LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*}; \
|
||||
fi
|
||||
.endfor
|
||||
# 20181013 r339348 bcopy reimplemented as .c
|
||||
.for f in bcopy memcpy memmove
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
egrep -qw 'bcopy\.[sS]' ${OBJTOP}/lib/libc/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for bcopy"; \
|
||||
rm -f ${OBJTOP}/lib/libc/.depend.${f}.* \
|
||||
${_LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*}; \
|
||||
fi
|
||||
.endfor
|
||||
# 20181115 r340463 bzero reimplemented as .c
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.bzero.o" ] && \
|
||||
egrep -qw 'bzero\.[sS]' ${OBJTOP}/lib/libc/.depend.bzero.o; then \
|
||||
echo "Removing stale dependencies for bzero"; \
|
||||
rm -f ${OBJTOP}/lib/libc/.depend.bzero.* \
|
||||
${_LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.bzero.*}; \
|
||||
fi
|
||||
# 20181009 track migration from ntp's embedded libevent to updated one
|
||||
@if [ -e "${OBJTOP}/usr.sbin/ntp/libntpevent/.depend.bufferevent_openssl.o" ] && \
|
||||
egrep -q 'contrib/ntp/sntp/libevent/bufferevent_openssl.c' \
|
||||
${OBJTOP}/usr.sbin/ntp/libntpevent/.depend.bufferevent_openssl.o ; then \
|
||||
echo "Removing stale libevent dependencies"; \
|
||||
rm -f ${OBJTOP}/usr.sbin/ntp/libntpevent/.depend.*; \
|
||||
fi
|
||||
|
||||
# 20181209 r341759 track migration across wpa update
|
||||
@if [ -e "${OBJTOP}/usr.sbin/wpa/wpa_supplicant/.depend.rrm.o" ] && \
|
||||
egrep -q 'src/ap/rrm.c' \
|
||||
${OBJTOP}/usr.sbin/wpa/wpa_supplicant/.depend.rrm.o; then \
|
||||
echo "Removing stale wpa dependencies"; \
|
||||
rm -f ${OBJTOP}/usr.sbin/wpa/*/.depend*; \
|
||||
fi
|
||||
|
||||
_worldtmp: .PHONY
|
||||
@echo
|
||||
|
Loading…
Reference in New Issue
Block a user