From 5a5f6a76ec8806043020c83d016c0fea3c04f70b Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 26 Oct 2018 17:10:56 +0200 Subject: [PATCH] build system: Fix FSP downloading Check for PLATFORM_USES_FSP2_0 instead of MAINBOARD_USES_FSP2_0. The latter is only valid for Skylake where we decide per mainboard if FSP2.0 is used. PLATFORM_USES_FSP2_0 is the one that actually enables the FSP2.0 integration. Change-Id: I3f16e5f4454c0bf02d51db5d1c267a921917f377 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/29291 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Philipp Deppenwiese Reviewed-by: Lijian Zhao Reviewed-by: Pratikkumar V Prajapati --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index 1e58967cca..aaae7bcae6 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -195,7 +195,7 @@ 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) +ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y) forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp)) endif endif