From cd58bb3c386b6c481f310d4d349dfd4573cf93f4 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 17 Feb 2015 11:10:10 +0100 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/8472 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Marc Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)