From 193171b7f5d6e10fbcd3acaa39fe6efb474151ea Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Fri, 8 Jan 2010 18:57:31 +0000 Subject: [PATCH] In sys//conf/Makefile set TARGET to . 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 --- sys/amd64/conf/Makefile | 2 ++ sys/i386/conf/Makefile | 2 ++ sys/ia64/conf/Makefile | 2 ++ sys/pc98/conf/Makefile | 2 ++ sys/powerpc/conf/Makefile | 2 ++ sys/sparc64/conf/Makefile | 2 ++ sys/sun4v/conf/Makefile | 2 ++ 7 files changed, 14 insertions(+) diff --git a/sys/amd64/conf/Makefile b/sys/amd64/conf/Makefile index 2c006e9c2c8..1d2513f2abf 100644 --- a/sys/amd64/conf/Makefile +++ b/sys/amd64/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=amd64 + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/i386/conf/Makefile b/sys/i386/conf/Makefile index 2c006e9c2c8..e04b0abe62f 100644 --- a/sys/i386/conf/Makefile +++ b/sys/i386/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=i386 + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/ia64/conf/Makefile b/sys/ia64/conf/Makefile index 2c006e9c2c8..122a7d09c25 100644 --- a/sys/ia64/conf/Makefile +++ b/sys/ia64/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=ia64 + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/pc98/conf/Makefile b/sys/pc98/conf/Makefile index 2c006e9c2c8..dabcd9a48a5 100644 --- a/sys/pc98/conf/Makefile +++ b/sys/pc98/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=pc98 + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/powerpc/conf/Makefile b/sys/powerpc/conf/Makefile index 2c006e9c2c8..562bc4693cd 100644 --- a/sys/powerpc/conf/Makefile +++ b/sys/powerpc/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=powerpc + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/sparc64/conf/Makefile b/sys/sparc64/conf/Makefile index 2c006e9c2c8..b0b5857849c 100644 --- a/sys/sparc64/conf/Makefile +++ b/sys/sparc64/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=sparc64 + .include "${.CURDIR}/../../conf/makeLINT.mk" diff --git a/sys/sun4v/conf/Makefile b/sys/sun4v/conf/Makefile index 2c006e9c2c8..1c33841c248 100644 --- a/sys/sun4v/conf/Makefile +++ b/sys/sun4v/conf/Makefile @@ -1,3 +1,5 @@ # $FreeBSD$ +TARGET=sun4v + .include "${.CURDIR}/../../conf/makeLINT.mk"