summaryrefslogtreecommitdiff
path: root/tools/fdtgrep.c
diff options
context:
space:
mode:
authorJan Kundrát <jan.kundrat@cesnet.cz>2017-11-03 03:06:35 +0100
committerTom Rini <trini@konsulko.com>2017-11-06 09:59:02 -0500
commitb95a5190ba9284a06f9d0c56589bcb4080b4710a (patch)
tree291c03638172d418302bf0138c88ccbbd3334775 /tools/fdtgrep.c
parent6ba2da90de9acbdfbc0ad1519fd2905e9548cb34 (diff)
downloadu-boot-b95a5190ba9284a06f9d0c56589bcb4080b4710a.tar.gz
u-boot-b95a5190ba9284a06f9d0c56589bcb4080b4710a.tar.bz2
u-boot-b95a5190ba9284a06f9d0c56589bcb4080b4710a.zip
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>
Diffstat (limited to 'tools/fdtgrep.c')
-rw-r--r--tools/fdtgrep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index f51f5f15f5..5897b6d5f7 100644
--- a/tools/fdtgrep.c
+++ b/tools/fdtgrep.c
@@ -16,8 +16,8 @@
#include <string.h>
#include <unistd.h>
-#include <../include/libfdt.h>
-#include <libfdt_internal.h>
+#include "../include/libfdt.h"
+#include "libfdt_internal.h"
/* Define DEBUG to get some debugging output on stderr */
#ifdef DEBUG