From 4874c6dff4beb85ceee8d9567c21bf82fc3c40b4 Mon Sep 17 00:00:00 2001 From: Ivy Jian Date: Thu, 22 Apr 2021 15:07:17 +0800 Subject: [PATCH] mb/google/mancomb: Add mancomb APCBs into build This adds the Mancomb APCBs into the AMD firmware binary. BUG=b:182211161 TEST=Build and check log showing APCB sources present. Signed-off-by: Ivy Jian Change-Id: Ifdf1e813fce6f93378c2495cf76bdace81d87c16 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52600 Reviewed-by: Mathew King Reviewed-by: EricR Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/mancomb/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mainboard/google/mancomb/Makefile.inc b/src/mainboard/google/mancomb/Makefile.inc index 21e71d7a44..8181edca88 100644 --- a/src/mainboard/google/mancomb/Makefile.inc +++ b/src/mainboard/google/mancomb/Makefile.inc @@ -1,5 +1,13 @@ # SPDX-License-Identifier: GPL-2.0-or-later +ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin),) +$(info APCB sources present.) +APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin +APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin +else +$(info APCB sources not found. Skipping APCB.) +endif + bootblock-y += bootblock.c verstage-y += verstage.c