From 3a1e1f07df1971d113c1aacc5b5be45d60eff368 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 14 May 2021 10:21:37 +0200 Subject: security/intel/txt: Always build logging.c Always building makes sure this code gets buildtested. Calling this code already was guarded by "if CONFIG(INTEL_TXT_LOGGING)". Also build this in all stages as future code will use this in bootblock. Change-Id: I654adf16b47513e3279335c8a8ad48b9371d438e Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/54295 Reviewed-by: Angel Pons Reviewed-by: Christian Walter Tested-by: build bot (Jenkins) --- src/security/intel/txt/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/security') diff --git a/src/security/intel/txt/Makefile.inc b/src/security/intel/txt/Makefile.inc index d3323417c0..7132ca8495 100644 --- a/src/security/intel/txt/Makefile.inc +++ b/src/security/intel/txt/Makefile.inc @@ -1,17 +1,17 @@ ifeq ($(CONFIG_INTEL_TXT),y) +all-y += logging.c + romstage-y += romstage.c romstage-y += getsec_sclean.S romstage-y += getsec.c romstage-y += common.c -romstage-$(CONFIG_INTEL_TXT_LOGGING) += logging.c ramstage-y += common.c ramstage-y += getsec.c ramstage-y += getsec_enteraccs.S ramstage-y += ramstage.c -ramstage-$(CONFIG_INTEL_TXT_LOGGING) += logging.c cbfs-files-y += $(CONFIG_INTEL_TXT_CBFS_BIOS_ACM) $(CONFIG_INTEL_TXT_CBFS_BIOS_ACM)-file := $(CONFIG_INTEL_TXT_BIOSACM_FILE) -- cgit v1.2.3