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>
This commit is contained in:
Fred Reitberger 2022-12-01 08:49:44 -05:00 committed by Felix Held
parent 87577169e3
commit e814b265ea

View File

@ -4,7 +4,6 @@ subdirs-y += block
subdirs-y += fsp subdirs-y += fsp
subdirs-y += pi subdirs-y += pi
subdirs-y += vboot subdirs-y += vboot
endif
ifneq ($(CONFIG_AMDFW_CONFIG_FILE), ) ifneq ($(CONFIG_AMDFW_CONFIG_FILE), )
FIRMWARE_LOCATION=$(shell grep -e FIRMWARE_LOCATION $(CONFIG_AMDFW_CONFIG_FILE) | awk '{print $$2}') 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 # ifeq ($(CONFIG_VBOOT_GSCVD),y)
endif endif # ifneq ($(CONFIG_AMDFW_CONFIG_FILE), )
MAINBOARD_BLOBS_DIR := $(call strip_quotes, $(CONFIG_APCB_BLOBS_DIR)) MAINBOARD_BLOBS_DIR := $(call strip_quotes, $(CONFIG_APCB_BLOBS_DIR))
endif # ifeq ($(CONFIG_SOC_AMD_COMMON),y)