From 70ba567117fae7b8804670ea60371f20498227e5 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 24 Mar 2023 15:16:10 +0100 Subject: soc/amd/common/block/cpu/Makefile: group build targets by stage Signed-off-by: Felix Held Change-Id: Idb6087dc44e76ab63bc6b462c3328c23d83ae018 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74009 Reviewed-by: Fred Reitberger Tested-by: build bot (Jenkins) --- src/soc/amd/common/block/cpu/Makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/soc/amd/common') diff --git a/src/soc/amd/common/block/cpu/Makefile.inc b/src/soc/amd/common/block/cpu/Makefile.inc index 055341ec4d..f198af2e30 100644 --- a/src/soc/amd/common/block/cpu/Makefile.inc +++ b/src/soc/amd/common/block/cpu/Makefile.inc @@ -1,11 +1,12 @@ ## SPDX-License-Identifier: GPL-2.0-only subdirs-y += ./* -ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE) += update_microcode.c + romstage-y += cpu.c -ramstage-y += cpu.c +ramstage-y += cpu.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SVI2) += svi2.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_SVI3) += svi3.c +ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE) += update_microcode.c ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_UCODE),y) define add-ucode-as-cbfs -- cgit v1.2.3