aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-11-24 13:49:11 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-29 07:28:56 +0000
commitc1d1dddbccba1d1468b75bc8d4685bd8e7184264 (patch)
tree0a1b9d51dbf2d6ee87dafa6ce41f73f0462a2132 /src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
parente88dacfa433840339355b7a634cd63f3fd22c5f7 (diff)
mb/supermicro/x11-lga1151-series: rework gpio setup to not use headers
Rework gpio setup for the board series to not use headers but stage-specific compilation units. Tested successfully on X11SSM-F. Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Change-Id: Ic62ce4335af605c081ef288e892441585ff2bd3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/48087 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/Makefile.inc')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc b/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
index f9b4e9890b..035dd281bb 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
+++ b/src/mainboard/supermicro/x11-lga1151-series/Makefile.inc
@@ -1,10 +1,11 @@
## SPDX-License-Identifier: GPL-2.0-only
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
+
bootblock-y += bootblock.c
+bootblock-y += variants/$(VARIANT_DIR)/gpio_early.c
ramstage-y += mainboard.c
-
-CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
+ramstage-y += variants/$(VARIANT_DIR)/gpio.c
subdirs-y += variants/$(VARIANT_DIR)
-CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include