svn commit: r201814 - head/sys/conf

Bjoern A. Zeeb bz at FreeBSD.org
Fri Jan 8 19:00:20 UTC 2010


Author: bz
Date: Fri Jan  8 19:00:20 2010
New Revision: 201814
URL: http://svn.freebsd.org/changeset/base/201814

Log:
  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

Modified:
  head/sys/conf/makeLINT.mk

Modified: head/sys/conf/makeLINT.mk
==============================================================================
--- head/sys/conf/makeLINT.mk	Fri Jan  8 18:57:31 2010	(r201813)
+++ head/sys/conf/makeLINT.mk	Fri Jan  8 19:00:20 2010	(r201814)
@@ -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


More information about the svn-src-all mailing list