From b17f4e8d26b34541cade48add2a213454008d3f1 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Wed, 16 Nov 2016 15:10:50 -0600 Subject: sb/lynxpoint: use hda_verb.c from VARIANT_DIR if applicable Change-Id: Ie2d0cf573876694fe87edf2f6915a5cc26238940 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/17453 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/southbridge/intel/lynxpoint/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/southbridge') diff --git a/src/southbridge/intel/lynxpoint/Makefile.inc b/src/southbridge/intel/lynxpoint/Makefile.inc index e36b1b2b01..3ecc6a6cc4 100644 --- a/src/southbridge/intel/lynxpoint/Makefile.inc +++ b/src/southbridge/intel/lynxpoint/Makefile.inc @@ -28,7 +28,11 @@ ramstage-y += smbus.c ramstage-y += hda_verb.c ramstage-$(CONFIG_INTEL_LYNXPOINT_LP) += serialio.c +ifneq ($(CONFIG_VARIANT_DIR),) +ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/hda_verb.c +else ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c +endif ramstage-y += rcba.c ramstage-y += me_status.c -- cgit v1.2.3