Author: bz Date: Fri Jan 8 18:57:31 2010 New Revision: 201813 URL: http://svn.freebsd.org/changeset/base/201813
Log: In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows sys/conf/makeLINT.mk to only do certain things for certain architectures. Note that neither arm nor mips have the Makefile there, thus essentially not (yet) supporting LINT. This would enable them do add special treatment to sys/conf/makeLINT.mk as well chosing one of the many configurations as LINT. This is a hack of doing this and keeping it in a separate commit will allow us to more easily identify and back it out. Discussed on/with: arch, jhb (as part of the LINT-VIMAGE thread) MFC after: 1 month Modified: head/sys/amd64/conf/Makefile head/sys/i386/conf/Makefile head/sys/ia64/conf/Makefile head/sys/pc98/conf/Makefile head/sys/powerpc/conf/Makefile head/sys/sparc64/conf/Makefile head/sys/sun4v/conf/Makefile Modified: head/sys/amd64/conf/Makefile ============================================================================== --- head/sys/amd64/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/amd64/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=amd64 + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/i386/conf/Makefile ============================================================================== --- head/sys/i386/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/i386/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=i386 + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/ia64/conf/Makefile ============================================================================== --- head/sys/ia64/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/ia64/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=ia64 + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/pc98/conf/Makefile ============================================================================== --- head/sys/pc98/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/pc98/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=pc98 + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/powerpc/conf/Makefile ============================================================================== --- head/sys/powerpc/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/powerpc/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=powerpc + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/sparc64/conf/Makefile ============================================================================== --- head/sys/sparc64/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/sparc64/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=sparc64 + .include "${.CURDIR}/../../conf/makeLINT.mk" Modified: head/sys/sun4v/conf/Makefile ============================================================================== --- head/sys/sun4v/conf/Makefile Fri Jan 8 18:29:04 2010 (r201812) +++ head/sys/sun4v/conf/Makefile Fri Jan 8 18:57:31 2010 (r201813) @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=sun4v + .include "${.CURDIR}/../../conf/makeLINT.mk" _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"