aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-12-01 08:49:44 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-02-15 13:06:28 +0000
commite814b265eab9f0b22e9400d3840278678a7fa4ee (patch)
treeabd0b4b278d57dffc47cd44cfc9885bebcbb790e
parent87577169e3415968d14517a5489d5ff5b2da8db1 (diff)
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 <reitbergerfred@gmail.com> Change-Id: I369e23e7ee9463ca1ae487d1e2181c760ae1bab2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70208 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/common/Makefile.inc5
1 files 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)