Commit b08c8c4870831c9315dcae237772238e80035bd5

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent e0d20dc152

libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
  include/libfdt.h         -> include/linux/libfdt.h
  include/libfdt_env.h     -> include/linux/libfdt_env.h

and replaces include directives:
  #include <libfdt.h>      -> #include <linux/libfdt.h>
  #include <libfdt_env.h>  -> #include <linux/libfdt_env.h>

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Warning! This is a large diff.

To preserve performance the diff is not shown. Please, download the diff as plain diff or email patch instead.

If you still want to see the diff click this link

Showing 197 changed files with 514 additions and 519 deletions Side-by-side Diff