mirror of https://gitlab.com/qemu-project/dtc.git
Install & document convert-dtsv0
Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
9c83115351
commit
3a90ce6d75
|
@ -19,6 +19,8 @@ II - The DT block format
|
||||||
|
|
||||||
III - libfdt
|
III - libfdt
|
||||||
|
|
||||||
|
IV - Conversion to Version 1
|
||||||
|
|
||||||
|
|
||||||
I - "dtc", the device tree compiler
|
I - "dtc", the device tree compiler
|
||||||
===================================
|
===================================
|
||||||
|
@ -613,6 +615,24 @@ strings block.
|
||||||
|
|
||||||
|
|
||||||
III - libfdt
|
III - libfdt
|
||||||
|
============
|
||||||
|
|
||||||
This library should be merged into dtc proper.
|
This library should be merged into dtc proper.
|
||||||
This library should likely be worked into U-Boot and the kernel.
|
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.
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -52,6 +52,7 @@ install: all
|
||||||
@$(VECHO) INSTALL
|
@$(VECHO) INSTALL
|
||||||
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||||
$(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR)
|
$(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR)
|
||||||
|
$(INSTALL) -m 755 convert-dtsv0 $(DESTDIR)$(BINDIR)
|
||||||
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
|
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
|
||||||
$(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
|
$(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
|
||||||
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
|
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
|
Loading…
Reference in New Issue