diff options
author | Isaac Lee <isaaclee@google.com> | 2022-08-23 08:49:51 -0700 |
---|---|---|
committer | Karthik Ramasubramanian <kramasub@google.com> | 2022-08-24 21:44:20 +0000 |
commit | efade6dd33492ef04d3edf6c152a988dfa12c236 (patch) | |
tree | 6e0d2dd589b0ff9967d3f70987523f3bde364fec | |
parent | 39cb97d64dcb5e45e84d748e935406cf5b709242 (diff) |
mb/google/skyrim: Check if SPD exists
Update the build script to check if SPD exists, and only if SPD exists
the APCB_SBR_D5.gen could be executed.
BUG=None
TEST=Build
Change-Id: Ib7b977a89d403242e8bb1f684269e70082125e88
Signed-off-by: Isaac Lee <isaaclee@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66978
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Jon Murphy <jpmurphy@google.com>
-rw-r--r-- | src/mainboard/google/skyrim/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/Makefile.inc b/src/mainboard/google/skyrim/Makefile.inc index 3a91cff1d7..0bea8a00ba 100644 --- a/src/mainboard/google/skyrim/Makefile.inc +++ b/src/mainboard/google/skyrim/Makefile.inc @@ -19,6 +19,8 @@ CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/in ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_SBR_D5.bin),) $(info APCB sources present.) +ifneq ($(wildcard $(SPD_SOURCES)),) + LIB_SPD_DEPS = $(SPD_SOURCES) APCB_SOURCES = $(obj)/APCB_SBR_D5.gen @@ -32,5 +34,8 @@ $(obj)/APCB_SBR_D5.gen: $(SPD_SOURCES) \ --spd_sources $(SPD_SOURCES) \ --mem_type 'lp5' else +$(info SPD sources not found. Skipping APCB.) +endif +else $(info APCB sources not found. Skipping APCB.) endif |