From b02a5014ea52774a74f3cc9b455fbccea954b018 Mon Sep 17 00:00:00 2001 From: Nikolai Vyssotski Date: Sat, 24 Sep 2022 08:48:39 -0500 Subject: src/soc/amd/mendocino: Enable override of MAINBOARD_BLOBS_DIR When using site-local we need to have ability to override MAINBOARD_BLOBS_DIR with a different location (presumably somewhere in site-local). site-local Makefiles.inc should be pulled in first (different CL) allowing MAINBOARD_BLOBS_DIR to be overwritten. Change-Id: I028042b947887d1182642ad4482dd1bba7ad8e23 Signed-off-by: Nikolai Vyssotski Reviewed-on: https://review.coreboot.org/c/coreboot/+/68801 Tested-by: build bot (Jenkins) Reviewed-by: Jason Glenesk Reviewed-by: Fred Reitberger --- src/soc/amd/mendocino/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd') diff --git a/src/soc/amd/mendocino/Makefile.inc b/src/soc/amd/mendocino/Makefile.inc index e1dda83870..92c75f8ded 100644 --- a/src/soc/amd/mendocino/Makefile.inc +++ b/src/soc/amd/mendocino/Makefile.inc @@ -54,7 +54,10 @@ CPPFLAGS_common += -I$(src)/soc/amd/mendocino/include CPPFLAGS_common += -I$(src)/soc/amd/mendocino/acpi CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/mendocino +# 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 -- cgit v1.2.3