summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-11-27 15:59:39 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-29 08:56:15 +0000
commitbf5aacca2c8c74510613741ea7eaeef602ea0679 (patch)
treee05d2e30d459dc6b57f561a074e399d2f4217caa /src/mainboard
parent30da30c1db3375bfb582afca36e43c2e1669b8df (diff)
downloadcoreboot-bf5aacca2c8c74510613741ea7eaeef602ea0679.tar.xz
mb/lenovo/t400/Makefile: Build gpio w/o subdir makefiles
Change-Id: Ia2e889fe72d746b71d92026e358c7471f56b381f Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37287 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/t400/Makefile.inc2
-rw-r--r--src/mainboard/lenovo/t400/variants/r500/Makefile.inc1
-rw-r--r--src/mainboard/lenovo/t400/variants/t400/Makefile.inc1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/lenovo/t400/Makefile.inc b/src/mainboard/lenovo/t400/Makefile.inc
index b3ca78d2de..e4e6a1f012 100644
--- a/src/mainboard/lenovo/t400/Makefile.inc
+++ b/src/mainboard/lenovo/t400/Makefile.inc
@@ -16,7 +16,7 @@
bootblock-y += bootblock.c
bootblock-y += dock.c
-subdirs-y += variants/$(VARIANT_DIR)/
+romstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-y += dock.c
ramstage-y += cstates.c
diff --git a/src/mainboard/lenovo/t400/variants/r500/Makefile.inc b/src/mainboard/lenovo/t400/variants/r500/Makefile.inc
deleted file mode 100644
index 3dae61e8a8..0000000000
--- a/src/mainboard/lenovo/t400/variants/r500/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-romstage-y += gpio.c
diff --git a/src/mainboard/lenovo/t400/variants/t400/Makefile.inc b/src/mainboard/lenovo/t400/variants/t400/Makefile.inc
deleted file mode 100644
index 3dae61e8a8..0000000000
--- a/src/mainboard/lenovo/t400/variants/t400/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-romstage-y += gpio.c