summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/Makefile.inc
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-11-07 13:21:48 -0500
committerMartin L Roth <gaumless@gmail.com>2023-01-22 19:08:55 +0000
commit8190840fdfd182596c6cd8f9db845315815ae19a (patch)
tree5f372aae910ad0a323a05955b6310ccaeb84605b /src/soc/amd/common/Makefile.inc
parent99945dcb8c18b533d975ceae0aa8ad3dffe8543f (diff)
soc/amd/*: Enable override of MAINBOARD_BLOBS_DIR
MAINBOARD_BLOBS_DIR is defined the same way by picasso/cezanne/mendocino/phoenix/glinda and unused by stoneyridge, so move it to a common area. This makefile variable is currently only used to locate APCB blobs for the different mainboards. Add a Kconfig option to point to the APCB blobs directory. This allows simple overriding to locations such as site-local. TEST=Timeless builds Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I0702fdb97fbc2c73d97994ab4d5161ff0f467518 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69410 Reviewed-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/common/Makefile.inc')
-rw-r--r--src/soc/amd/common/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index f047a590bf..3130a0cc58 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -44,3 +44,5 @@ amdfwread-range-cmd = $(shell ( \
endif # ifeq ($(CONFIG_VBOOT_GSCVD),y)
endif
+
+MAINBOARD_BLOBS_DIR := $(call strip_quotes, $(CONFIG_APCB_BLOBS_DIR))