[Crosstoolchain-logs] [device-tree-compiler] 303/357: Install & document convert-dtsv0
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 3a90ce6d75ae68c4aadb20fcceeb61a71bc548f3
Author: Niklaus Giger <niklaus.giger at member.fsf.org>
Date: Thu Oct 2 22:06:35 2008 +0200
Install & document convert-dtsv0
Signed-off-by: Niklaus Giger <niklaus.giger at member.fsf.org>
Acked-by: David Gibson <david at gibson.dropbear.id.au>
---
Documentation/manual.txt | 20 ++++++++++++++++++++
Makefile | 1 +
2 files changed, 21 insertions(+)
diff --git a/Documentation/manual.txt b/Documentation/manual.txt
index b957662..0674384 100644
--- a/Documentation/manual.txt
+++ b/Documentation/manual.txt
@@ -19,6 +19,8 @@ II - The DT block format
III - libfdt
+IV - Conversion to Version 1
+
I - "dtc", the device tree compiler
===================================
@@ -613,6 +615,24 @@ strings block.
III - libfdt
+============
This library should be merged into dtc proper.
This library should likely be worked into U-Boot and the kernel.
+
+IV - Conversion to Version 1
+============================
+
+convert-dtsv0 is a small utility program which converts (DTS)
+Device Tree Source from the obsolete version 0 to version 1.
+
+Version 1 DTS files are marked by line "/dts-v1/;" at the top of the file.
+
+The syntax of the convert-dtsv0 command line is:
+
+convert-dtsv0 [<input_filename ... >]
+
+Each file passed will be converted to the new /dts-v1/ version by creating
+a new file with a "v1" appended the filename.
+
+Comments, empty lines, etc. are preserved.
diff --git a/Makefile b/Makefile
index 5ad0189..558e10c 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,7 @@ install: all
@$(VECHO) INSTALL
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 convert-dtsv0 $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
$(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list