diff options
-rw-r--r-- | src/vendorcode/amd/Makefile.inc | 3 | ||||
-rw-r--r-- | src/vendorcode/amd/pi/Makefile.inc | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/vendorcode/amd/Makefile.inc b/src/vendorcode/amd/Makefile.inc index ddeb2a4959..321013474e 100644 --- a/src/vendorcode/amd/Makefile.inc +++ b/src/vendorcode/amd/Makefile.inc @@ -1 +1,2 @@ -subdirs-y += pi +subdirs-$(CONFIG_SOC_AMD_STONEYRIDGE) += pi +subdirs-$(CONFIG_CPU_AMD_PI_00730F01) += pi diff --git a/src/vendorcode/amd/pi/Makefile.inc b/src/vendorcode/amd/pi/Makefile.inc index b00e38b2e8..a5768ea64c 100644 --- a/src/vendorcode/amd/pi/Makefile.inc +++ b/src/vendorcode/amd/pi/Makefile.inc @@ -28,9 +28,10 @@ # #***************************************************************************** +ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y) + subdirs-y += 00670F00 -ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y) # AGESA V5 Files AGESA_ROOT = $(top)/$(call strip_quotes,$(CONFIG_AGESA_BINARY_PI_VENDORCODE_PATH)) @@ -60,6 +61,8 @@ endif ifeq ($(CONFIG_CPU_AMD_PI_00730F01),y) # AGESA V5 Files +subdirs-y += 00730F01 + AGESA_ROOT = $(call strip_quotes,$(CONFIG_AGESA_BINARY_PI_VENDORCODE_PATH)) AGESA_INC = -I$(obj) -I$(src)/vendorcode/amd/include |