summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x230/Makefile.inc
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2020-05-18 21:22:50 +0800
committerAlexander Couzens <lynxis@fe80.eu>2020-05-21 03:05:38 +0000
commitebf1932f23dcacf995064cf1c790568b6914f99a (patch)
tree9d7e2594d01deac525f2ef7cdaab5eed02f52357 /src/mainboard/lenovo/x230/Makefile.inc
parentcfd78b1500bed6d3d410f984450c45f28b700aa2 (diff)
mb/lenovo/x230: Turn X230 into a variant
Other variants would be added later. Change-Id: Ic6af14f0aa7a6f7378048f3c38d5713c18950366 Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41509 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/x230/Makefile.inc')
-rw-r--r--src/mainboard/lenovo/x230/Makefile.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/lenovo/x230/Makefile.inc b/src/mainboard/lenovo/x230/Makefile.inc
index 991eadbff2..5316d24d88 100644
--- a/src/mainboard/lenovo/x230/Makefile.inc
+++ b/src/mainboard/lenovo/x230/Makefile.inc
@@ -1,9 +1,9 @@
## SPDX-License-Identifier: GPL-2.0-only
smm-y += smihandler.c
-bootblock-y += gpio.c
-romstage-y += gpio.c
-
-ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
-bootblock-y += early_init.c
-romstage-y += early_init.c
+bootblock-y += variants/$(VARIANT_DIR)/early_init.c
+bootblock-y += variants/$(VARIANT_DIR)/gpio.c
+romstage-y += variants/$(VARIANT_DIR)/early_init.c
+romstage-y += variants/$(VARIANT_DIR)/gpio.c
+ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads