Date: Fri, 8 Jan 2010 18:57:31 +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: r201813 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf Message-ID: <201001081857.o08IvVtn061885@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001081857.o08IvVtn061885>