Makefile.inc: Update fsp submodule for all FSP platforms
Rather than selectively update the fsp submodule based on FSP version or platform selection, update it when building for any FSP-enabled platform, so all have latest version available. Change-Id: If07d55828a1863623e04a4ecdd1514c3cb6d9c11 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32526 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
b242de5bfc
commit
8c99a4859e
|
@ -196,14 +196,11 @@ ifeq ($(CONFIG_USE_BLOBS),y)
|
||||||
# this is necessary because 3rdparty/blobs is update=none, and so is ignored
|
# this is necessary because 3rdparty/blobs is update=none, and so is ignored
|
||||||
# unless explicitly requested and enabled through --checkout
|
# unless explicitly requested and enabled through --checkout
|
||||||
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/blobs))
|
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/blobs))
|
||||||
ifeq ($(CONFIG_PLATFORM_USES_FSP2_0),y)
|
ifeq ($(CONFIG_PLATFORM_USES_FSP1_0)$(CONFIG_PLATFORM_USES_FSP1_1)$(CONFIG_PLATFORM_USES_FSP2_0),y)
|
||||||
|
# this is necessary because 3rdparty/fsp is update=none, and so is ignored
|
||||||
|
# unless explicitly requested and enabled through --checkout
|
||||||
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))
|
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_PLATFORM_USES_FSP1_0),y)
|
|
||||||
ifeq ($(CONFIG_SOC_INTEL_FSP_BROADWELL_DE),y)
|
|
||||||
forgetthis:=$(if $(GIT),$(shell git submodule update --init --checkout 3rdparty/fsp))
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
UPDATED_SUBMODULES:=1
|
UPDATED_SUBMODULES:=1
|
||||||
COREBOOT_EXPORTS += UPDATED_SUBMODULES
|
COREBOOT_EXPORTS += UPDATED_SUBMODULES
|
||||||
|
|
Loading…
Reference in New Issue