From 5cc9ef414f513fa3a08fc464976da3b710cadddc Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 24 Aug 2018 00:09:02 +0200 Subject: build system: Add automatic downloading of FSP mirror repo if requested It only happens if both USE_BLOBS and MAINBOARD_USES_FSP2_0 are enabled. Change-Id: I46843c61d3ddf398a3c058bb571d285b596bf5c1 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/28304 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc index b3e246a50f..68b0eb2523 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -195,6 +195,9 @@ ifeq ($(CONFIG_USE_BLOBS),y) # this is necessary because 3rdparty/blobs is update=none, and so is ignored # unless explicitly requested and enabled through --checkout forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/blobs)) +ifeq ($(CONFIG_MAINBOARD_USES_FSP2_0),y) +forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp)) +endif endif UPDATED_SUBMODULES:=1 COREBOOT_EXPORTS += UPDATED_SUBMODULES -- cgit v1.2.3