Add some missing .PHONY.
These are relevant for WITH_META_MODE to ensure they are always reran and don't generate a .meta file. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
863ad6d555
commit
4977354760
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300799
@ -295,7 +295,7 @@ kernel-tags:
|
||||
@[ -f .depend ] || { echo "you must make depend first"; exit 1; }
|
||||
sh $S/conf/systags.sh
|
||||
|
||||
kernel-install:
|
||||
kernel-install: .PHONY
|
||||
@if [ ! -f ${KERNEL_KO} ] ; then \
|
||||
echo "You must build a kernel first." ; \
|
||||
exit 1 ; \
|
||||
|
@ -306,7 +306,7 @@ _INSTALLFLAGS:= ${_INSTALLFLAGS${ie}}
|
||||
KERN_DEBUGDIR?= ${DEBUGDIR}
|
||||
realinstall: _kmodinstall
|
||||
.ORDER: beforeinstall _kmodinstall
|
||||
_kmodinstall:
|
||||
_kmodinstall: .PHONY
|
||||
${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
|
||||
${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/
|
||||
.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} != "no"
|
||||
@ -320,7 +320,7 @@ _kmodinstall:
|
||||
afterinstall: _kldxref
|
||||
.ORDER: realinstall _kldxref
|
||||
.ORDER: _installlinks _kldxref
|
||||
_kldxref:
|
||||
_kldxref: .PHONY
|
||||
@if type kldxref >/dev/null 2>&1; then \
|
||||
${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
|
||||
kldxref ${DESTDIR}${KMODDIR}; \
|
||||
@ -331,17 +331,17 @@ _kldxref:
|
||||
.endif # !target(install)
|
||||
|
||||
.if !target(load)
|
||||
load: ${PROG}
|
||||
load: ${PROG} .PHONY
|
||||
${KMODLOAD} -v ${.OBJDIR}/${PROG}
|
||||
.endif
|
||||
|
||||
.if !target(unload)
|
||||
unload:
|
||||
unload: .PHONY
|
||||
if ${KMODISLOADED} ${PROG} ; then ${KMODUNLOAD} -v ${PROG} ; fi
|
||||
.endif
|
||||
|
||||
.if !target(reload)
|
||||
reload: unload load
|
||||
reload: unload load .PHONY
|
||||
.endif
|
||||
|
||||
.if defined(KERNBUILDDIR)
|
||||
|
@ -773,7 +773,7 @@ SUBDIR:= ${SUBDIR:N${reject}}
|
||||
# Calling kldxref(8) for each module is expensive.
|
||||
.if !defined(NO_XREF)
|
||||
.MAKEFLAGS+= -DNO_XREF
|
||||
afterinstall:
|
||||
afterinstall: .PHONY
|
||||
@if type kldxref >/dev/null 2>&1; then \
|
||||
${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
|
||||
kldxref ${DESTDIR}${KMODDIR}; \
|
||||
|
Loading…
Reference in New Issue
Block a user