svn commit: r201813 - in head/sys: amd64/conf i386/conf ia64/conf pc98/conf powerpc/conf sparc64/conf sun4v/conf

Bjoern A. Zeeb bz at FreeBSD.org
Fri Jan 8 18:57:32 UTC 2010


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"


More information about the svn-src-head mailing list