From bf5aacca2c8c74510613741ea7eaeef602ea0679 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Wed, 27 Nov 2019 15:59:39 +0100 Subject: mb/lenovo/t400/Makefile: Build gpio w/o subdir makefiles Change-Id: Ia2e889fe72d746b71d92026e358c7471f56b381f Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/c/coreboot/+/37287 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/mainboard/lenovo/t400/Makefile.inc | 2 +- src/mainboard/lenovo/t400/variants/r500/Makefile.inc | 1 - src/mainboard/lenovo/t400/variants/t400/Makefile.inc | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 src/mainboard/lenovo/t400/variants/r500/Makefile.inc delete mode 100644 src/mainboard/lenovo/t400/variants/t400/Makefile.inc (limited to 'src/mainboard/lenovo/t400') 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 -- cgit v1.2.3