summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/Makefile.dtc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dtc/Makefile.dtc')
-rw-r--r--scripts/dtc/Makefile.dtc9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/dtc/Makefile.dtc b/scripts/dtc/Makefile.dtc
new file mode 100644
index 00000000000..6ddf9ecac66
--- /dev/null
+++ b/scripts/dtc/Makefile.dtc
@@ -0,0 +1,9 @@
+# Makefile.dtc
+#
+# This is not a complete Makefile of itself. Instead, it is designed to
+# be easily embeddable into other systems of Makefiles.
+#
+DTC_SRCS = dtc.c flattree.c fstree.c data.c livetree.c treesource.c srcpos.c \
+ checks.c
+DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
+DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)