summaryrefslogtreecommitdiff
path: root/scripts/dtc/Makefile.dtc
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-09-23 12:52:44 -0400
committerTom Rini <trini@konsulko.com>2017-09-23 17:33:03 -0400
commitc0e032e0090d6541549b19cc47e06ccd1f302893 (patch)
tree3df07c2a174f118fb478ba05c8efe5ab9cf27577 /scripts/dtc/Makefile.dtc
parent0929863aff433d1e87ad6cd03d72f2909fa25573 (diff)
downloadu-boot-c0e032e0090d6541549b19cc47e06ccd1f302893.tar.gz
scripts/dtc: Update to upstream version v1.4.3
Using the update-dtc-source.sh script from Linux v4.14-rc1 import the portions of dtc that we require. We bring in update-dtc-source.sh and scripts/dtc/Makefile from Linux v4.14-rc1. Rework DTC_FLAGS handling to not require a test. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'scripts/dtc/Makefile.dtc')
-rw-r--r--scripts/dtc/Makefile.dtc18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/dtc/Makefile.dtc b/scripts/dtc/Makefile.dtc
new file mode 100644
index 0000000000..bece49b355
--- /dev/null
+++ b/scripts/dtc/Makefile.dtc
@@ -0,0 +1,18 @@
+# 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 = \
+ checks.c \
+ data.c \
+ dtc.c \
+ flattree.c \
+ fstree.c \
+ livetree.c \
+ srcpos.c \
+ treesource.c \
+ util.c
+
+DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
+DTC_OBJS = $(DTC_SRCS:%.c=%.o) $(DTC_GEN_SRCS:%.c=%.o)