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
This commit is contained in:
parent
316634c7ad
commit
ad608e4e42
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=amd64
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=i386
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=ia64
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=pc98
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=powerpc
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=sparc64
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET=sun4v
|
||||
|
||||
.include "${.CURDIR}/../../conf/makeLINT.mk"
|
||||
|
Loading…
x
Reference in New Issue
Block a user