From 4f73d930fe79547c8948ac6c52f86cf890c2e77f Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 28 Dec 2018 18:53:14 +0100 Subject: src/mainboard: Use smm-$(CONFIG_HAVE_SMI_HANDLER) Use smm-$(CONFIG_HAVE_SMI_HANDLER) instead of smm-y Change-Id: I0f91bc3e6c8ab31d837ab89af62d700b35c1e01b Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/30485 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/mainboard/google/poppy/variants/nocturne/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/poppy/variants') diff --git a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc index e558cfc9cb..260d9c0bf3 100644 --- a/src/mainboard/google/poppy/variants/nocturne/Makefile.inc +++ b/src/mainboard/google/poppy/variants/nocturne/Makefile.inc @@ -20,6 +20,6 @@ romstage-y += memory.c ramstage-y += gpio.c ramstage-y += nhlt.c ramstage-y += mainboard.c - -smm-y += ec.c ramstage-y += ec.c + +smm-$(CONFIG_HAVE_SMI_HANDLER) += ec.c -- cgit v1.2.3