summaryrefslogtreecommitdiff
path: root/src/mainboard/clevo/cml-u/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/clevo/cml-u/Makefile.mk')
-rw-r--r--src/mainboard/clevo/cml-u/Makefile.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/clevo/cml-u/Makefile.mk b/src/mainboard/clevo/cml-u/Makefile.mk
new file mode 100644
index 0000000000..babadf538a
--- /dev/null
+++ b/src/mainboard/clevo/cml-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)/gpio.c
+ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
+ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
+ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
+
+smm-$(CONFIG_EC_CLEVO_IT5570E) += smihandler.c
+
+subdirs-y += variants/$(VARIANT_DIR)