diff options
author | Patrick Georgi <patrick@georgi.software> | 2018-08-24 00:09:02 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-02 03:07:59 +0000 |
commit | 5cc9ef414f513fa3a08fc464976da3b710cadddc (patch) | |
tree | 478df6183e699981b0b7ea14ae67659334793bba /Makefile.inc | |
parent | f585141cb9a7a1f7af1374237c67c3822c44620e (diff) |
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 <patrick@georgi.software>
Reviewed-on: https://review.coreboot.org/28304
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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 |