summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2010-01-08 18:57:31 +0000
committerbz <bz@FreeBSD.org>2010-01-08 18:57:31 +0000
commitad608e4e422194e9f446f1163cb65ad916ca6a7c (patch)
treee6c5429a76f9eb8a44e15ebb9694d93e74f12cd4
parent316634c7adc4edcba52e3c3af455e3f18f37adb4 (diff)
downloadFreeBSD-src-ad608e4e422194e9f446f1163cb65ad916ca6a7c.zip
FreeBSD-src-ad608e4e422194e9f446f1163cb65ad916ca6a7c.tar.gz
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
-rw-r--r--sys/amd64/conf/Makefile2
-rw-r--r--sys/i386/conf/Makefile2
-rw-r--r--sys/ia64/conf/Makefile2
-rw-r--r--sys/pc98/conf/Makefile2
-rw-r--r--sys/powerpc/conf/Makefile2
-rw-r--r--sys/sparc64/conf/Makefile2
-rw-r--r--sys/sun4v/conf/Makefile2
7 files changed, 14 insertions, 0 deletions
diff --git a/sys/amd64/conf/Makefile b/sys/amd64/conf/Makefile
index 2c006e9..1d2513f 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 2c006e9..e04b0ab 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 2c006e9..122a7d0 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 2c006e9..dabcd9a 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 2c006e9..562bc46 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 2c006e9..b0b5857 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 2c006e9..1c33841 100644
--- a/sys/sun4v/conf/Makefile
+++ b/sys/sun4v/conf/Makefile
@@ -1,3 +1,5 @@
# $FreeBSD$
+TARGET=sun4v
+
.include "${.CURDIR}/../../conf/makeLINT.mk"
OpenPOWER on IntegriCloud