Building dtc etc. for packaging
David Gibson
david at gibson.dropbear.id.au
Wed Nov 12 09:39:03 EST 2008
On Tue, Nov 11, 2008 at 11:29:57AM -0600, Matt Sealey wrote:
> For some of what we're doing with SUSE now I've determined we should really
> be packaging the device tree compiler (and libfdt) so that we can install and
> script it, along with some other stuff from U-Boot (not for this mail).
>
> I was wondering if the recommended way would be to use the dtc found in
> the kernel-source or to use the git repo at git.jdl.com to grab it and
> build it. The one in the kernel is seemingly impossible to build without
> some tweaking around (I can't find a target for make that does it) so
> I also wonder about a hint here on what to do to create it from the
> kernel source so we can pull it out for a local system install.
Use the tree from jdl.org. Either the git tree if you really need an
up-to-date snahpshot, or one of the actual release tarballs.
Apart from being the official upstream version, the tree there has
make install targets, the full testsuite and other conveniences which
will help for packaging.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the Linuxppc-dev
mailing list