Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 22:54:25 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221353 - head/sys/conf
Message-ID:  <201105022254.p42MsPpX058189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon May  2 22:54:24 2011
New Revision: 221353
URL: http://svn.freebsd.org/changeset/base/221353

Log:
  Add LINT-NOINET6 which we have inofficially supported for years
  and our users complained when broken.
  Similarly add LINT-NOINET, and for at least documentation purposes add
  LINT-NOIP (which compiles out INET and INET6 and couple of NIC drivers).
  
  Tested by:	make universe (if you broke it since you fix it)
  Reviewed by:	gnn
  Sponsored by:	The FreeBSD Foundation
  Sponsored by:	iXsystems
  MFC after:	2 weeks

Modified:
  head/sys/conf/makeLINT.mk

Modified: head/sys/conf/makeLINT.mk
==============================================================================
--- head/sys/conf/makeLINT.mk	Mon May  2 22:52:22 2011	(r221352)
+++ head/sys/conf/makeLINT.mk	Mon May  2 22:54:24 2011	(r221353)
@@ -16,6 +16,34 @@ LINT: ${NOTES} ../../conf/makeLINT.sed
 	echo "include ${.TARGET}"	>  ${.TARGET}-VIMAGE
 	echo "ident ${.TARGET}-VIMAGE"	>> ${.TARGET}-VIMAGE
 	echo "options VIMAGE"		>> ${.TARGET}-VIMAGE
+	echo "include ${.TARGET}"	>  ${.TARGET}-NOINET
+	echo "ident ${.TARGET}-NOINET"	>> ${.TARGET}-NOINET
+	echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="'  >> ${.TARGET}-NOINET
+	echo "nooptions INET"		>> ${.TARGET}-NOINET
+	echo "nodevice gre"		>> ${.TARGET}-NOINET
+	echo "include ${.TARGET}"	>  ${.TARGET}-NOINET6
+	echo "ident ${.TARGET}-NOINET6"	>> ${.TARGET}-NOINET6
+	echo "nooptions INET6"		>> ${.TARGET}-NOINET6
+	echo "include ${.TARGET}"	>  ${.TARGET}-NOIP
+	echo "ident ${.TARGET}-NOIP"	>> ${.TARGET}-NOIP
+	echo 'makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="'  >> ${.TARGET}-NOIP
+	echo 'makeoptions MKMODULESENV+="WITHOUT_INET6_SUPPORT="' >> ${.TARGET}-NOIP
+	echo "nooptions INET"		>> ${.TARGET}-NOIP
+	echo "nooptions INET6"		>> ${.TARGET}-NOIP
+	echo "nodevice age"		>> ${.TARGET}-NOIP
+	echo "nodevice alc"		>> ${.TARGET}-NOIP
+	echo "nodevice ale"		>> ${.TARGET}-NOIP
+	echo "nodevice bxe"		>> ${.TARGET}-NOIP
+	echo "nodevice em"		>> ${.TARGET}-NOIP
+	echo "nodevice fxp"		>> ${.TARGET}-NOIP
+	echo "nodevice igb"		>> ${.TARGET}-NOIP
+	echo "nodevice jme"		>> ${.TARGET}-NOIP
+	echo "nodevice msk"		>> ${.TARGET}-NOIP
+	echo "nodevice mxge"		>> ${.TARGET}-NOIP
+	echo "nodevice sge"		>> ${.TARGET}-NOIP
+	echo "nodevice sk"		>> ${.TARGET}-NOIP
+	echo "nodevice txp"		>> ${.TARGET}-NOIP
+	echo "nodevice vxge"		>> ${.TARGET}-NOIP
 .endif
 .if ${TARGET} == "powerpc" || ${TARGET} == "mips"
 	echo "machine	${TARGET} ${TARGET_ARCH}" >> ${.TARGET}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105022254.p42MsPpX058189>