summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/tgl-u/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/clevo/tgl-u/Makefile.mk')
-rw-r--r--src/mainboard/clevo/tgl-u/Makefile.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/clevo/tgl-u/Makefile.mk b/src/mainboard/clevo/tgl-u/Makefile.mk
new file mode 100644
index 0000000000..ae492df429
--- /dev/null
+++ b/src/mainboard/clevo/tgl-u/Makefile.mk
@@ -0,0 +1,20 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include
+CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/acpi
+
+bootblock-y += bootblock.c
+bootblock-y += variants/$(VARIANT_DIR)/gpio_early.c
+
+romstage-y += romstage.c
+romstage-y += variants/$(VARIANT_DIR)/romstage.c
+
+ramstage-y += ramstage.c
+ramstage-y += variants/$(VARIANT_DIR)/ramstage.c
+ramstage-y += variants/$(VARIANT_DIR)/gpio.c
+ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
+ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
+
+smm-$(CONFIG_EC_CLEVO_IT5570E) += smihandler.c
+
+subdirs-y += variants/$(VARIANT_DIR)