summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-02-17 11:10:10 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-02-17 18:10:59 +0100
commitcd58bb3c386b6c481f310d4d349dfd4573cf93f4 (patch)
tree8ae893705537e161bcbf0419bbe69d5a9eacfaf8 /Makefile
parent8b2c8f1c10d81299196ac8413cb51330ba3d1f12 (diff)
downloadcoreboot-cd58bb3c386b6c481f310d4d349dfd4573cf93f4.tar.xz
build system: lint targets aren't compile targets
So don't treat them as such. Fixes interactions with class initialization (eg. verstage) on lint. Change-Id: I8b5f2a56e73ba934590c45494e6a49f93c42096f Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/8472 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 017ca47ad7..3386be9bbf 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ ifeq ($(strip $(HAVE_DOTCONFIG)),)
NOCOMPILE:=1
endif
ifneq ($(MAKECMDGOALS),)
-ifneq ($(filter %config %clean cross%,$(MAKECMDGOALS)),)
+ifneq ($(filter %config %clean cross% lint%,$(MAKECMDGOALS)),)
NOCOMPILE:=1
endif
ifeq ($(MAKECMDGOALS), %clean)