Fred Reitberger has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69410 )
Change subject: soc/amd/[glinda|morgana]: Enable override of MAINBOARD_BLOBS_DIR ......................................................................
soc/amd/[glinda|morgana]: Enable override of MAINBOARD_BLOBS_DIR
When using site-local we need to have the ability to override MAINBOARD_BLOBS_DIR with a different location (presumably somewhere in site-local).
Signed-off-by: Fred Reitberger reitbergerfred@gmail.com Change-Id: I0702fdb97fbc2c73d97994ab4d5161ff0f467518 --- M src/soc/amd/glinda/Makefile.inc M src/soc/amd/morgana/Makefile.inc 2 files changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/69410/1
diff --git a/src/soc/amd/glinda/Makefile.inc b/src/soc/amd/glinda/Makefile.inc index e00421d..e77a1df 100644 --- a/src/soc/amd/glinda/Makefile.inc +++ b/src/soc/amd/glinda/Makefile.inc @@ -56,7 +56,10 @@ CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/glinda CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/common
+# allow site-local Makefile to override blobs location +ifeq ($(MAINBOARD_BLOBS_DIR),) MAINBOARD_BLOBS_DIR:=$(top)/3rdparty/blobs/mainboard/$(MAINBOARDDIR) +endif
# ROMSIG Normally At ROMBASE + 0x20000 # Overridden by CONFIG_AMD_FWM_POSITION_INDEX diff --git a/src/soc/amd/morgana/Makefile.inc b/src/soc/amd/morgana/Makefile.inc index a88e1a5..4229ea2 100644 --- a/src/soc/amd/morgana/Makefile.inc +++ b/src/soc/amd/morgana/Makefile.inc @@ -56,7 +56,10 @@ CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/morgana CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/common
+# allow site-local Makefile to override blobs location +ifeq ($(MAINBOARD_BLOBS_DIR),) MAINBOARD_BLOBS_DIR:=$(top)/3rdparty/blobs/mainboard/$(MAINBOARDDIR) +endif
# ROMSIG Normally At ROMBASE + 0x20000 # Overridden by CONFIG_AMD_FWM_POSITION_INDEX