<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/lib/fdt_strerror.c, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2012-07-23T12:54:52+00:00</updated>
<entry>
<title>of/lib: Allow scripts/dtc/libfdt to be used from kernel code</title>
<updated>2012-07-23T12:54:52+00:00</updated>
<author>
<name>David Daney</name>
<email>david.daney@cavium.com</email>
</author>
<published>2012-07-05T16:12:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ab25383983fb8d7786696f5371e75e79c3e9a405'/>
<id>urn:sha1:ab25383983fb8d7786696f5371e75e79c3e9a405</id>
<content type='text'>
libfdt is part of the device tree support in scripts/dtc/libfdt.  For
some platforms that use the Device Tree, we want to be able to edit
the flattened device tree form.

We don't want to burden kernel builds that do not require it, so we
gate compilation of libfdt files with CONFIG_LIBFDT.  So if it is
needed, you need to do this in your Kconfig:

	select LIBFDT

And in the Makefile of the code using libfdt something like:

ccflags-y := -I$(src)/../../../scripts/dtc/libfdt

Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: linux-kernel@vger.kernel.org
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
