summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/l520/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/l520/Makefile.inc')
-rw-r--r--src/mainboard/lenovo/l520/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/l520/Makefile.inc b/src/mainboard/lenovo/l520/Makefile.inc
index 5331f255c9..3afb227e42 100644
--- a/src/mainboard/lenovo/l520/Makefile.inc
+++ b/src/mainboard/lenovo/l520/Makefile.inc
@@ -15,4 +15,4 @@
romstage-y += romstage.c
romstage-y += gpio.c
-smm-y += smihandler.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c