build: allow building crossgcc when .config exists
Under some circumstances the coreboot toolchain test prevented building crossgcc, which is counter-productive: If a .config file exists but no suitable .xcompile. Don't assume anything about the tree when building crossgcc or crosstools targets. Change-Id: I4d6e7a88908dc967342daf30df0fcbcc269ae63d Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5584 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Martin Roth <martin.roth@se-eng.com>
This commit is contained in:
parent
88ca81a6d4
commit
c38f3ae0de
2
Makefile
2
Makefile
|
@ -97,7 +97,7 @@ ifeq ($(strip $(HAVE_DOTCONFIG)),)
|
||||||
NOCOMPILE:=1
|
NOCOMPILE:=1
|
||||||
endif
|
endif
|
||||||
ifneq ($(MAKECMDGOALS),)
|
ifneq ($(MAKECMDGOALS),)
|
||||||
ifneq ($(filter %config %clean,$(MAKECMDGOALS)),)
|
ifneq ($(filter %config %clean cross%,$(MAKECMDGOALS)),)
|
||||||
NOCOMPILE:=1
|
NOCOMPILE:=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(MAKECMDGOALS), %clean)
|
ifeq ($(MAKECMDGOALS), %clean)
|
||||||
|
|
Loading…
Reference in New Issue