[Crosstoolchain-logs] [device-tree-compiler] 01/04: Import Debian patch 1.4.0+dfsg-2
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:21:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch debian/master
in repository device-tree-compiler.
commit 02456a1b83081267268a9ca854f93641f7bbda2e
Author: Héctor Orón Martínez <zumbi at debian.org>
Date: Thu Dec 8 18:16:34 2016 +0100
Import Debian patch 1.4.0+dfsg-2
Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
debian/README.Debian | 8 +++
debian/README.source | 2 +
debian/changelog | 115 ++++++++++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 40 +++++++++++++
debian/copyright | 91 ++++++++++++++++++++++++++++
debian/device-tree-compiler.install | 1 +
debian/dirs | 1 +
debian/doc-base.dtc-manual | 10 ++++
debian/doc-base.dtc-paper | 15 +++++
debian/libfdt-dev.install | 3 +
debian/libfdt1.install | 2 +
debian/manpages/convert-dtsv0.1 | 22 +++++++
debian/manpages/dtc.1 | 103 ++++++++++++++++++++++++++++++++
debian/manpages/dtdiff.1 | 14 +++++
debian/manpages/fdtdump.1 | 13 ++++
debian/manpages/fdtget.1 | 25 ++++++++
debian/manpages/fdtput.1 | 29 +++++++++
debian/patches/series | 23 ++++++++
debian/rules | 73 +++++++++++++++++++++++
debian/source/format | 1 +
21 files changed, 592 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..8e3debd
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+device-tree-compiler for Debian
+-------------------------------
+
+The original package is named dtc. However, there was already a
+dtc package in the archive. Therefore, we decided to rename dtc to
+device-tree-compiler.
+
+ -- Aurélien GÉRÔME <ag at roxor.cx> Sat, 3 Mar 2007 23:13:14 +0100
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..23d4c85
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+The patch system used in this package is quilt based.
+Refer to /usr/share/doc/quilt/README.source for further information.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..22b0f89
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,115 @@
+device-tree-compiler (1.4.0+dfsg-2) unstable; urgency=medium
+
+ * Fix out of date homepage url
+ * Fix pre-depends-directly-on-multiarch-support error
+
+ -- Riku Voipio <riku.voipio at linaro.org> Mon, 17 Aug 2015 15:12:51 +0300
+
+device-tree-compiler (1.4.0+dfsg-1) unstable; urgency=low
+
+ * REALLY update to upstream version 1.4.0, closes: #725745
+
+ -- Riku Voipio <riku.voipio at linaro.org> Fri, 03 Jan 2014 16:22:27 +0200
+
+device-tree-compiler (1.4.0-2) unstable; urgency=low
+
+ * Convert to multiarch
+
+ -- Riku Voipio <riku.voipio at linaro.org> Fri, 23 Aug 2013 14:58:19 +0300
+
+device-tree-compiler (1.4.0-1) unstable; urgency=low
+
+ * Added myself to maintainers
+ * New upstream version, closes: #713991
+
+ -- Riku Voipio <riku.voipio at linaro.org> Mon, 12 Aug 2013 15:36:00 +0300
+
+device-tree-compiler (1.3.0-4) unstable; urgency=low
+
+ * Revert accidental source format change.
+
+ -- Hector Oron <zumbi at pergolesi.debian.org> Sat, 27 Apr 2013 09:59:06 +0000
+
+device-tree-compiler (1.3.0-3) unstable; urgency=low
+
+ * libfdt-dev: Missing header file prevents the library usage
+ Thanks Domenico Andreoli (Closes: #706137)
+
+ -- Hector Oron <zumbi at debian.org> Sat, 27 Apr 2013 07:47:09 +0000
+
+device-tree-compiler (1.3.0-2) unstable; urgency=low
+
+ * Add libfdt package (Closes: #477565)
+ - Thanks Dmitry Eremin-Solenikov and Aurelien Jarno for patch.
+ * Backport upstream fixes as patches until 2012-1-21.
+ * Reword package description to generalize architecture support.
+ - Removes OpenFirmware and PowerPC references.
+ * Update dtc manpage and include fdtget, fdtput, fdtdump, convert-dtsv0,
+ dtdiff manpages.
+ * d/rules: Add build-arch and build-indep targets.
+ * d/README.source: refer to quilt patching system.
+ * Remove Apps top-level section from doc-base.
+
+ -- Hector Oron <zumbi at debian.org> Sat, 28 Jan 2012 01:16:09 +0100
+
+device-tree-compiler (1.3.0-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #572945)
+ * New maintainer. (Closes: #649290)
+ * New VCS repository.
+ * Update homepage stanza (Closes: #497605)
+ * Update standards version.
+ * Compile with -fPIC. Fixes ftbfs on amd64.
+ * Use dpkg 1.0 format.
+ * Backport upstream fixes as patches until 2011-10-26.
+
+ -- Hector Oron <zumbi at debian.org> Tue, 22 Nov 2011 12:23:38 +0000
+
+device-tree-compiler (1.1.0.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fix lintian warning "copyright-without-copyright-notice".
+ + Update debian/copyright.
+
+ -- Aurélien GÉRÔME <ag at roxor.cx> Sat, 16 Feb 2008 17:08:36 +0100
+
+device-tree-compiler (1.0.0.dfsg-1) unstable; urgency=low
+
+ * New upstream release. (Closes: #438479)
+ + Fix missing /chosen node, as it has been removed from DTS.
+ (Closes: #436234)
+ * Remove ftdump from the upstream tarball.
+ + This file has no license notice.
+ + Fix conflict with the freetype2-demos package. (Closes: #434890)
+ + David Gibson told me that he would not bother even installing
+ ftdump. It was meant to be a debugging tool, dumping a blob
+ back into text format, but it never got very far and he has
+ been meaning to get rid of it.
+ * Update tests/dumptrees.c in the upstream tarball with GIT commit
+ 08c0be206d5d6b035db11048d19be33216332f2b.
+ + Fix missing copyright and license notices.
+ * Update debian/copyright.
+ + Mention dual GPLv2+/BSD licensing of libfdt.
+ + Add Jon Loeliger as an upstream author.
+ * Bump Standards-Version to 3.7.3.
+ * Add the Homepage field and remove it from the long description.
+ * Add the Vcs-Git/Vcs-Browser fields.
+ * Add the XS-DM-Upload-Allowed field.
+ * Rewrite short and long descriptions in debian/control.
+ * Rewrite debian/rules to handle the noopt build option.
+ * Write and add a manpage for dtc.
+ * Add documentation under /usr/share/doc/device-tree-compiler/.
+ + Add Build-Depends on texlive and texlive-latex-extra.
+ + Add debian/doc-base.dtc-manual and debian/doc-base.dtc-paper.
+ + Create a Makefile to build dtc-paper.tex.
+ - Add quilt support to build system.
+ - Add 01_build_doc.diff.
+ + Update debian/rules to prepare documentation.
+
+ -- Aurélien GÉRÔME <ag at roxor.cx> Sat, 22 Dec 2007 04:02:24 +0100
+
+device-tree-compiler (0.1~git20070226-1) experimental; urgency=low
+
+ * Initial release. (Closes: #413290)
+
+ -- Aurélien GÉRÔME <ag at roxor.cx> Sat, 3 Mar 2007 23:13:14 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8f9a69a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: device-tree-compiler
+Section: devel
+Priority: extra
+Maintainer: Hector Oron <zumbi at debian.org>
+Uploaders: Riku Voipio <riku.voipio at linaro.org>
+Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 5), quilt, flex, bison, texlive, texlive-latex-extra
+Homepage: https://git.kernel.org/cgit/utils/dtc/dtc.git
+Vcs-Git: git://anonscm.debian.org/crosstoolchain/device-tree-compiler.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=crosstoolchain/device-tree-compiler.git
+
+Package: device-tree-compiler
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: foreign
+Description: Device Tree Compiler for Flat Device Trees
+ Device Tree Compiler, dtc, takes as input a device-tree in
+ a given format and outputs a device-tree in another format
+ for booting kernels on embedded systems.
+ .
+ Typically, the input format is "dts", a human readable source
+ format, and creates a "dtb", or binary format as output.
+
+Package: libfdt1
+Architecture: any
+Section: libs
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: Flat Device Trees manipulation library
+ This is a library containing functions for manipulating Flat Device Trees.
+
+Package: libfdt-dev
+Architecture: any
+Section: libdevel
+Depends: libfdt1 (= ${binary:Version}), ${misc:Depends}
+Description: Flat Device Trees manipulation library - development files
+ This is a library containing functions for manipulating Flat Device Trees.
+ .
+ This package contains the files needed for development against libfdt.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a20740a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,91 @@
+This package was debianized by Aurélien GÉRÔME <ag at roxor.cx> on
+Sat, 3 Mar 2007 23:13:14 +0100.
+
+It was checked out from <git://www.jdl.com/software/dtc.git>.
+
+Upstream Authors:
+
+ David Gibson <david at gibson.dropbear.id.au>
+ Jon Loeliger <jdl at freescale.com>
+
+Copyright notices:
+
+ Copyright 2005-2007 David Gibson, IBM Corporation.
+ Copyright 2007 Jon Loeliger, Freescale Semiconductor, Inc.
+
+Licenses:
+
+ dtc code:
+
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+ * USA.
+ */
+
+ libfdt code:
+
+/*
+ * libfdt - Flat Device Tree manipulation
+ *
+ * libfdt is dual licensed: you can use it either under the terms of
+ * the GPL, or the BSD license, at your option.
+ *
+ * a) This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
+ *
+ * Alternatively,
+ *
+ * b) Redistribution and use in source and binary forms, with or
+ * without modification, are permitted provided that the following
+ * conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+The Debian packaging is (C) 2007, Aurélien GÉRÔME <ag at roxor.cx> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/device-tree-compiler.install b/debian/device-tree-compiler.install
new file mode 100644
index 0000000..1df36c6
--- /dev/null
+++ b/debian/device-tree-compiler.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/doc-base.dtc-manual b/debian/doc-base.dtc-manual
new file mode 100644
index 0000000..348ba9a
--- /dev/null
+++ b/debian/doc-base.dtc-manual
@@ -0,0 +1,10 @@
+Document: dtc-manual
+Title: Device Tree Compiler Manual
+Author: Jon Loeliger
+Abstract: This manual is derived from the kernel documentation
+ /usr/share/doc/linux-doc-<version>/Documentation/powerpc/booting-without-of.txt.gz
+ which is now out of date.
+Section: Programming
+
+Format: Text
+Files: /usr/share/doc/device-tree-compiler/dtc-manual.txt.gz
diff --git a/debian/doc-base.dtc-paper b/debian/doc-base.dtc-paper
new file mode 100644
index 0000000..5cec833
--- /dev/null
+++ b/debian/doc-base.dtc-paper
@@ -0,0 +1,15 @@
+Document: dtc-paper
+Title: Device trees everywhere
+Author: David Gibson, Benjamin Herrenschmidt
+Abstract: This paper presents a method for booting a PowerPC Linux
+ kernel on an embedded machine.
+Section: Programming
+
+Format: PDF
+Files: /usr/share/doc/device-tree-compiler/dtc-paper.pdf.gz
+
+Format: PostScript
+Files: /usr/share/doc/device-tree-compiler/dtc-paper.ps.gz
+
+Format: DVI
+Files: /usr/share/doc/device-tree-compiler/dtc-paper.dvi.gz
diff --git a/debian/libfdt-dev.install b/debian/libfdt-dev.install
new file mode 100644
index 0000000..9df2f44
--- /dev/null
+++ b/debian/libfdt-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/*/libfdt.a
+usr/lib/*/libfdt.so
diff --git a/debian/libfdt1.install b/debian/libfdt1.install
new file mode 100644
index 0000000..d9781f7
--- /dev/null
+++ b/debian/libfdt1.install
@@ -0,0 +1,2 @@
+usr/lib/*/libfdt-*.so
+usr/lib/*/libfdt.so.*
diff --git a/debian/manpages/convert-dtsv0.1 b/debian/manpages/convert-dtsv0.1
new file mode 100644
index 0000000..33e0cfe
--- /dev/null
+++ b/debian/manpages/convert-dtsv0.1
@@ -0,0 +1,22 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBconvert-dtsv0\fP \- Device Tree Compiler -- Conversion to Version 1
+.SH SYNOPSIS
+\fB/usr/bin/convert-dtsv0\fP [<input_filename ... >]
+.SH DESCRIPTION
+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.
+
+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.
+.SH AUTHOR
+\fBconvert-dtsv0\fP was written by David Gibson
+<david at gibson.dropbear.id.au>. Since April 1, 2006, Jon Loeliger
+<jdl at jdl.com> assumes maintainership.
+.PP
+This manual page was written by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/manpages/dtc.1 b/debian/manpages/dtc.1
new file mode 100644
index 0000000..1e4c367
--- /dev/null
+++ b/debian/manpages/dtc.1
@@ -0,0 +1,103 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBdtc\fP \- Device Tree Compiler
+.SH SYNOPSIS
+\fB/usr/bin/dtc\fP [options] <input file>
+.SH DESCRIPTION
+Device Tree Compiler, dtc, takes as input a device-tree in
+a given format and outputs a device-tree in another format
+for booting kernels on embedded systems.
+Typically, the input format is "dts", a human readable source
+format, and creates a "dtb", or binary format as output.
+.SH OPTIONS
+.TP
+\fB\-h\fR
+Display help text.
+.TP
+\fB\-q\fR
+Quiet:
+.IP
+\fB-q\fR \- Suppress warnings.
+.br
+\fB-qq\fR \- Suppress errors.
+.br
+\fB-qqq\fR \- Suppress all.
+.TP
+\fB\-I\fR <input format>
+.IP
+Input formats are:
+.IP
+\fBdts\fR \- device tree source text
+.br
+\fBdtb\fR \- device tree blob
+.br
+\fBfs\fR \- /proc/device\-tree style directory
+.TP
+\fB\-o\fR <output file>
+.IP
+Dump the result into a file, instead of stdout.
+.TP
+\fB\-O\fR <output format>
+.IP
+Output formats are:
+.IP
+\fBdts\fR \- device tree source text
+.br
+\fBdtb\fR \- device tree blob
+.br
+\fBasm\fR \- assembler source
+.TP
+\fB\-V\fR <output version>
+.IP
+Blob version to produce. The default is 17 (only relevant for dtb
+and asm output).
+.TP
+\fB\-d\fR <output dependency file>
+.TP
+\fB\-R\fR <number>
+.IP
+Make space for <number> reserve map entries (only relevant for dtb
+and asm output).
+.TP
+\fB\-S\fR <bytes>
+.IP
+Make the blob at least <bytes> long (extra space).
+.TP
+\fB\-p\fR <bytes>
+.IP
+Add padding to the blob of <bytes> long (extra space)
+.HP
+\fB\-b\fR <number>
+.IP
+Set the physical boot CPU.
+.TP
+\fB\-f\fR
+.IP
+Force \- try to produce output even if the input tree has errors.
+.TP
+\fB\-s\fR
+.IP
+Sort nodes and properties before outputting (only useful for comparing trees)
+.TP
+\fB\-v\fR
+Print DTC version and exit.
+.TP
+\fB\-H\fR <phandle format>
+.IP
+phandle formats are:
+.IP
+\fBlegacy\fR \- "linux,phandle" properties only
+.br
+\fBepapr\fR \- "phandle" properties only
+.br
+\fBboth\fR \- Both "linux,phandle" and "phandle" properties
+.SH AUTHOR
+\fBdtc\fP was written by David Gibson
+<david at gibson.dropbear.id.au>. Since April 1, 2006, Jon Loeliger
+<jdl at jdl.com> assumes maintainership.
+.PP
+This manual page was originally written by Aur\['e]lien G\['E]R\[^O]ME
+<ag at roxor.cx>, for the Debian project (but may be used by others).
+.PP
+This manual page is currently maintained and update it by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project.
diff --git a/debian/manpages/dtdiff.1 b/debian/manpages/dtdiff.1
new file mode 100644
index 0000000..7649104
--- /dev/null
+++ b/debian/manpages/dtdiff.1
@@ -0,0 +1,14 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBdtdiff\fP \- compare two different device-tree
+.SH SYNOPSIS
+\fB/usr/bin/dtdiff\fP <device tree> <device tree>
+.SH DESCRIPTION
+Compares two different device-tree.
+.SH AUTHOR
+\fBdtc\fP was written by David Gibson
+<david at gibson.dropbear.id.au>. Since April 1, 2006, Jon Loeliger
+<jdl at jdl.com> assumes maintainership.
+.PP
+This manual page was written by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/manpages/fdtdump.1 b/debian/manpages/fdtdump.1
new file mode 100644
index 0000000..95cf4a4
--- /dev/null
+++ b/debian/manpages/fdtdump.1
@@ -0,0 +1,13 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBfdtdump\fP \- prints a readable version of a flat device-tree file.
+.SH SYNOPSIS
+\fB/usr/bin/fdtdump\fP <DTB-file-name>
+.SH DESCRIPTION
+The fdtdump program prints a readable version of a flat device-tree file.
+.SH AUTHOR
+\fBfdtdump\fP was written by Pantelis Antoniou
+<pantelis.antoniou AT gmail.com>.
+.PP
+This manual page was written by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/manpages/fdtget.1 b/debian/manpages/fdtget.1
new file mode 100644
index 0000000..0049270
--- /dev/null
+++ b/debian/manpages/fdtget.1
@@ -0,0 +1,25 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBfdtget\fP \- read values from device-tree
+.SH SYNOPSIS
+\fB/usr/bin/fdtget\fP <options> <dt file> [<node> <property>]...
+.SH DESCRIPTION
+Read values from device-tree. Each value is printed on a new line.
+.SH OPTIONS
+.TP
+\fB\-h\fR
+Print this help.
+.TP
+\fB\-t\fR <type>
+Type of data
+.IP
+<type> s=string, i=int, u=unsigned, x=hex
+.br
+Optional modifier prefix:
+.br
+hh or b=byte, h=2 byte, l=4 byte (default)
+.SH AUTHOR
+\fBfdtget\fP was written by The Chromium OS Authors.
+.PP
+This manual page was written by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/manpages/fdtput.1 b/debian/manpages/fdtput.1
new file mode 100644
index 0000000..2766b0f
--- /dev/null
+++ b/debian/manpages/fdtput.1
@@ -0,0 +1,29 @@
+.TH DTC 1 "30 January 2012" "Linux"
+.SH NAME
+\fBfdtput\fP \- write a property value to a device-tree
+.SH SYNOPSIS
+\fB/usr/bin/fdtput\fP <options> <dt file> <<node> <property> [<value>...]
+.SH DESCRIPTION
+Write a property value to a device-tree. The command line arguments are
+joined together into a single value.
+.SH OPTIONS
+.TP
+\fB\-h\fR
+Print this help.
+.TP
+\fB\-v\fR
+Verbose: display each value decoded from command line
+.TP
+\fB\-t\fR <type>
+Type of data
+.IP
+<type> s=string, i=int, u=unsigned, x=hex
+.br
+Optional modifier prefix:
+.br
+hh or b=byte, h=2 byte, l=4 byte (default)
+.SH AUTHOR
+\fBfdtput\fP was written by The Chromium OS Authors.
+.PP
+This manual page was written by H\['e]ctor Or\['o]n
+<zumbi at debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aaeb1f5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,23 @@
+01_build_doc.patch
+#02_remove-unused-check-variable.patch
+#03_Remove-unused-variable-in-flat_read_mem_reserve.patch
+#04_Split-out-is_printable_string-into-util.patch
+#05_Add-missing-tests-to-gitignore.patch
+#06_Refactor-character-literal-parsing-code.patch
+#07_Remove-gcc-4.6-set-but-not-used-warnings.patch
+#08_Support-character-literals-in-cell-lists.patch
+#09_Create-Makefile_utils-and-move-ftdump-into-it.patch
+#10_Add-fdt-read_write-utility-functions.patch
+#11_Make-testutils-use-utilfdt.patch
+#12_use-utilfdt-to-read-blob.patch
+#13_Add-fdt16_to_cpu-utility-function.patch
+#14_Add-data_append_integer-function.patch
+#15_Add-support-for-variable-sized-elements.patch
+#16_fdtdump-rename-from-ftdump.patch
+#17_libfdt-Add-support-for-appending-the-values-to-a-exi.patch
+#18_libfdt-Activate-testcase-for-appending-properties.patch
+#19_dtc-Implement-d-option-to-write-out-a-dependency-fil.patch
+#20_Add-fdtget-utility-to-read-property-values-from-a-de.patch
+#21_Add-fdtput-utility-to-write-property-values-to-a-dev.patch
+#22_Introduce-TESTS_BIN-in-Makefiles-to-identify-tested-.patch
+#local-add-missing-header-706137.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b295a07
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,73 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export CFLAGS = -Wall -g -fPIC
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp:
+ dh_testdir
+ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+ $(MAKE) CFLAGS="$(CFLAGS)"
+ $(MAKE) -C Documentation
+ touch build-stamp
+
+clean: clean1
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+ $(MAKE) clean
+ [ ! -f Documentation/Makefile ] || $(MAKE) -C Documentation clean
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ rm -rf .pc
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
+ dh_install --list-missing --sourcedir=debian/tmp
+ touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs Documentation/dtc-paper.dvi Documentation/dtc-paper.ps \
+ Documentation/dtc-paper.pdf Documentation/dtc-manual.txt
+ dh_installexamples
+ dh_installman debian/manpages/*
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0
--
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