summaryrefslogtreecommitdiff
path: root/src/drivers/aspeed/common/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/aspeed/common/Makefile.mk')
-rw-r--r--src/drivers/aspeed/common/Makefile.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/aspeed/common/Makefile.mk b/src/drivers/aspeed/common/Makefile.mk
new file mode 100644
index 0000000000..f52b5e096a
--- /dev/null
+++ b/src/drivers/aspeed/common/Makefile.mk
@@ -0,0 +1,6 @@
+## SPDX-License-Identifier: GPL-2.0-only
+
+ifeq ($(CONFIG_DRIVERS_ASPEED_AST_COMMON),y)
+ramstage-y += ast_dp501.c ast_main.c ast_post.c
+ramstage-$(CONFIG_GENERIC_LINEAR_FRAMEBUFFER) += ast_mode.c ast_i2c.c ast_mode_corebootfb.c
+endif