summaryrefslogtreecommitdiffstats
path: root/sys/conf/makeLINT.mk
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2010-01-08 19:00:20 +0000
committerbz <bz@FreeBSD.org>2010-01-08 19:00:20 +0000
commitabdefdef477ebd134fdf8140d46253cdd8e60512 (patch)
treea949480d3289e7d44f0a5a69f43984ba1118db37 /sys/conf/makeLINT.mk
parentad608e4e422194e9f446f1163cb65ad916ca6a7c (diff)
downloadFreeBSD-src-abdefdef477ebd134fdf8140d46253cdd8e60512.zip
FreeBSD-src-abdefdef477ebd134fdf8140d46253cdd8e60512.tar.gz
Generate a second LINT configuration for i386 and amd64 in
sys/conf/makeLINT.mk, which includes LINT and sets options VIMAGE so that we will have VIMAGE LINT builds[1]. For now only do it for those two architectures to avoid massive universe times for archs, where people will less likely use VIMAGE or not at all. Requested by: jhb [1] Discussed on/with: arch, jhb, rwatson MFC after: 1 month
Diffstat (limited to 'sys/conf/makeLINT.mk')
-rw-r--r--sys/conf/makeLINT.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/conf/makeLINT.mk b/sys/conf/makeLINT.mk
index 08947a9..e7ca909 100644
--- a/sys/conf/makeLINT.mk
+++ b/sys/conf/makeLINT.mk
@@ -5,7 +5,15 @@ all:
clean:
rm -f LINT
+.if ${TARGET} == "amd64" || ${TARGET} == "i386"
+ rm -f LINT-VIMAGE
+.endif
NOTES= ../../conf/NOTES NOTES
LINT: ${NOTES} ../../conf/makeLINT.sed
cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET}
+.if ${TARGET} == "amd64" || ${TARGET} == "i386"
+ echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
+ echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
+ echo "options VIMAGE" >> ${.TARGET}-VIMAGE
+.endif
OpenPOWER on IntegriCloud