From 104c3e5f9b89aac45f91d3a8e15171e3573087cf Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 24 Jun 2020 18:49:41 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42778 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.inc') 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) -- cgit v1.2.3