aboutsummaryrefslogtreecommitdiff
path: root/src/console/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/Makefile.inc')
-rw-r--r--src/console/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index 62be1d2b23..54d59cdeca 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -5,8 +5,7 @@ ramstage-y += vsprintf.c
ramstage-y += post.c
ramstage-y += die.c
-smm-y += printk.c
-smm-y += vtxprintf.c
+smm-$(CONFIG_DEBUG_SMI) += vtxprintf.c printk.c
smm-$(CONFIG_SMM_TSEG) += die.c
romstage-$(CONFIG_EARLY_CONSOLE) += vtxprintf.c