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>
This commit is contained in:
parent
8b2c8f1c10
commit
cd58bb3c38
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in a new issue