Karthik Ramasubramanian has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62877 )
Change subject: mb/google/skyrim: Build APCB sources into amdfw when present ......................................................................
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 kramasub@google.com Change-Id: I71b30a5716f2e0d60d07a0ec29f98609c1f2a8b7 --- M src/mainboard/google/skyrim/Makefile.inc 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/62877/1
diff --git a/src/mainboard/google/skyrim/Makefile.inc b/src/mainboard/google/skyrim/Makefile.inc index 94708ac..f8a7dcd 100644 --- a/src/mainboard/google/skyrim/Makefile.inc +++ b/src/mainboard/google/skyrim/Makefile.inc @@ -13,3 +13,11 @@
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_FT6_DefaultRecovery.bin),) +$(info APCB sources present.) +APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_FT6_DefaultRecovery.bin +APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_FT6_DefaultRecovery.bin +else +$(info APCB sources not found. Skipping APCB.) +endif