Date: Sun, 4 Mar 2018 23:36:58 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r330428 - stable/10/sys/conf Message-ID: <201803042336.w24NawfL050507@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sun Mar 4 23:36:58 2018 New Revision: 330428 URL: https://svnweb.freebsd.org/changeset/base/330428 Log: MFC r325776: Rework r325568 so all 'make LINT' targets work. Modified: stable/10/sys/conf/makeLINT.mk Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/conf/makeLINT.mk ============================================================================== --- stable/10/sys/conf/makeLINT.mk Sun Mar 4 23:36:49 2018 (r330427) +++ stable/10/sys/conf/makeLINT.mk Sun Mar 4 23:36:58 2018 (r330428) @@ -1,5 +1,8 @@ # $FreeBSD$ +# The LINT files need to end up in the kernel source directory. +.OBJDIR: ${.CURDIR} + all: @echo "make LINT only" @@ -9,9 +12,10 @@ clean: rm -f LINT-VIMAGE LINT-NOINET LINT-NOINET6 LINT-NOIP .endif -NOTES= ../../conf/NOTES NOTES -LINT: ${NOTES} ../../conf/makeLINT.sed - cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET} +NOTES= ${.CURDIR}/../../conf/NOTES ${.CURDIR}/NOTES +MAKELINT_SED= ${.CURDIR}/../../conf/makeLINT.sed +LINT: ${NOTES} ${MAKELINT_SED} + cat ${NOTES} | sed -E -n -f ${MAKELINT_SED} > ${.TARGET} .if ${TARGET} == "amd64" || ${TARGET} == "i386" echo "include ${.TARGET}" > ${.TARGET}-VIMAGE echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803042336.w24NawfL050507>