Do not attempt to use the systemwide libfdt
authorJan Kundrát <jan.kundrat@cesnet.cz>
Fri, 3 Nov 2017 02:06:35 +0000 (03:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Nov 2017 14:59:02 +0000 (09:59 -0500)
commitb95a5190ba9284a06f9d0c56589bcb4080b4710a
tree291c03638172d418302bf0138c88ccbbd3334775
parent6ba2da90de9acbdfbc0ad1519fd2905e9548cb34
Do not attempt to use the systemwide libfdt

U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to
include it <like/this>. This breaks the build for me when I have dtc
fully installed in my host -- as happened earlier tonight with
Buildroot, for example.

There are several other occurrences throughout the code where '<libfdt'
matches. I'm not modifying these because I have no clue why the
<systemwide> include style is being used -- IMHO wrongly.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
include/fdt.h
include/libfdt.h
tools/fdtgrep.c