summaryrefslogtreecommitdiff
path: root/src/security/intel/txt/Makefile.inc
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-05-14 10:21:37 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-06-21 05:41:39 +0000
commit3a1e1f07df1971d113c1aacc5b5be45d60eff368 (patch)
treeb1077a2e7c218c68e872457918d5cf7b452b0cf7 /src/security/intel/txt/Makefile.inc
parent69984cf733ff5b1b4be39878cd538399dbcc3552 (diff)
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 <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54295 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Christian Walter <christian.walter@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/intel/txt/Makefile.inc')
-rw-r--r--src/security/intel/txt/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
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)