mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
Clean stale wpa dependencies and objects after r341759
The wpa update added some source files with the same name as a file in another directory (found via .PATH in the previous version). Having a stale entry in a .depend file means the new file won't be built, so test for this case and if found remove all of wpa's dependency files. MFC with: r341759 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2d0a6ce24c
commit
457e6311ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341796
@ -977,6 +977,14 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
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 and objects"; \
|
||||
rm -f ${OBJTOP}/usr.sbin/wpa/*/.depend*; \
|
||||
fi
|
||||
|
||||
_worldtmp: .PHONY
|
||||
@echo
|
||||
@echo "--------------------------------------------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user