From e814b265eab9f0b22e9400d3840278678a7fa4ee Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Thu, 1 Dec 2022 08:49:44 -0500 Subject: [PATCH] soc/amd/common/Makefile.inc: Extend if case coverage Extend the coverage of the 'ifeq ($(CONFIG_SOC_AMD_COMMON),y)' case to the entire file. This matches the coverage of the related Kconfig. Add comments to endif to show which if they are ending. Signed-off-by: Fred Reitberger Change-Id: I369e23e7ee9463ca1ae487d1e2181c760ae1bab2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70208 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth Reviewed-by: Felix Held --- src/soc/amd/common/Makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc index ec434e0734..1c145128c3 100644 --- a/src/soc/amd/common/Makefile.inc +++ b/src/soc/amd/common/Makefile.inc @@ -4,7 +4,6 @@ subdirs-y += block subdirs-y += fsp subdirs-y += pi subdirs-y += vboot -endif ifneq ($(CONFIG_AMDFW_CONFIG_FILE), ) FIRMWARE_LOCATION=$(shell grep -e FIRMWARE_LOCATION $(CONFIG_AMDFW_CONFIG_FILE) | awk '{print $$2}') @@ -46,6 +45,8 @@ amdfwread-range-cmd = $(shell ( \ )) endif # ifeq ($(CONFIG_VBOOT_GSCVD),y) -endif +endif # ifneq ($(CONFIG_AMDFW_CONFIG_FILE), ) MAINBOARD_BLOBS_DIR := $(call strip_quotes, $(CONFIG_APCB_BLOBS_DIR)) + +endif # ifeq ($(CONFIG_SOC_AMD_COMMON),y)