diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-06-24 18:49:41 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-28 21:45:47 +0000 |
commit | 104c3e5f9b89aac45f91d3a8e15171e3573087cf (patch) | |
tree | dada576b11fe18b35f3b2dbfe41b5741d4d4e829 | |
parent | d4698d94af65db0b85871c09e46832df330f582d (diff) |
Makefile.inc: Simplify fsp submodule check
TEST=Building Asrock H110M using FSP from repo updates the submodule.
Change-Id: I25023af88d878353a04db456009249da67e41521
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42778
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 7f61a5e4ad..bbb6685c2d 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -196,7 +196,7 @@ ifeq ($(CONFIG_USE_BLOBS),y) # until expressly requested and enabled with --checkout forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/blobs)) forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/intel-microcode)) -ifeq ($(CONFIG_PLATFORM_USES_FSP1_0)$(CONFIG_PLATFORM_USES_FSP1_1)$(CONFIG_PLATFORM_USES_FSP2_0),y) +ifeq ($(CONFIG_FSP_USE_REPO),y) forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp)) endif ifeq ($(CONFIG_USE_AMD_BLOBS),y) |