From owner-svn-src-head@freebsd.org Thu May 26 23:20:16 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20E41B48162; Thu, 26 May 2016 23:20:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7E0F14E0; Thu, 26 May 2016 23:20:15 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4QNKEiD070068; Thu, 26 May 2016 23:20:14 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4QNKEBR070065; Thu, 26 May 2016 23:20:14 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201605262320.u4QNKEBR070065@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Thu, 26 May 2016 23:20:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300799 - in head/sys: conf modules X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 23:20:16 -0000 Author: bdrewery Date: Thu May 26 23:20:14 2016 New Revision: 300799 URL: https://svnweb.freebsd.org/changeset/base/300799 Log: 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 Modified: head/sys/conf/kern.post.mk head/sys/conf/kmod.mk head/sys/modules/Makefile Modified: head/sys/conf/kern.post.mk ============================================================================== --- head/sys/conf/kern.post.mk Thu May 26 23:20:10 2016 (r300798) +++ head/sys/conf/kern.post.mk Thu May 26 23:20:14 2016 (r300799) @@ -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 ; \ Modified: head/sys/conf/kmod.mk ============================================================================== --- head/sys/conf/kmod.mk Thu May 26 23:20:10 2016 (r300798) +++ head/sys/conf/kmod.mk Thu May 26 23:20:14 2016 (r300799) @@ -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) Modified: head/sys/modules/Makefile ============================================================================== --- head/sys/modules/Makefile Thu May 26 23:20:10 2016 (r300798) +++ head/sys/modules/Makefile Thu May 26 23:20:14 2016 (r300799) @@ -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}; \