From 92dc7d2b4f176b5d81ed69fdbe38cf7f41c9a457 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Mon, 14 Mar 2022 23:59:07 -0600 Subject: mb/google/skyrim: Build APCB sources into amdfw when present BUG=b:224618411 TEST=util/abuild/abuild -t GOOGLE_SKYRIM with and without APCB Signed-off-by: Karthikeyan Ramasubramanian Change-Id: I71b30a5716f2e0d60d07a0ec29f98609c1f2a8b7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62877 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/google/skyrim/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/skyrim/Makefile.inc b/src/mainboard/google/skyrim/Makefile.inc index 94708acbf6..e66f7c9c0d 100644 --- a/src/mainboard/google/skyrim/Makefile.inc +++ b/src/mainboard/google/skyrim/Makefile.inc @@ -13,3 +13,11 @@ subdirs-y += variants/$(VARIANT_DIR) CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include + +ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_SBR_D5.bin),) +$(info APCB sources present.) +APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_SBR_D5.bin +APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_SBR_D5.bin +else +$(info APCB sources not found. Skipping APCB.) +endif -- cgit v1.2.3