From b08c8c4870831c9315dcae237772238e80035bd5 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 5 Mar 2018 01:20:11 +0900 Subject: libfdt: move headers to and 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 -> #include #include -> #include Reported-by: Thomas Petazzoni Signed-off-by: Masahiro Yamada --- tools/dtoc/dtb_platdata.py | 2 +- tools/dtoc/test_dtoc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/dtoc') diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py index dc9c0d9..c5767e5 100644 --- a/tools/dtoc/dtb_platdata.py +++ b/tools/dtoc/dtb_platdata.py @@ -422,7 +422,7 @@ class DtbPlatdata(object): """ self.out_header() self.out('#include \n') - self.out('#include \n') + self.out('#include \n') # Output the struct definition for name in sorted(structs): diff --git a/tools/dtoc/test_dtoc.py b/tools/dtoc/test_dtoc.py index 41ed80e..0553b5c 100644 --- a/tools/dtoc/test_dtoc.py +++ b/tools/dtoc/test_dtoc.py @@ -33,7 +33,7 @@ HEADER = '''/* */ #include -#include ''' +#include ''' C_HEADER = '''/* * DO NOT MODIFY -- cgit v1.1