summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJan Kundrát <jan.kundrat@cesnet.cz>2017-11-03 02:06:35 (GMT)
committerTom Rini <trini@konsulko.com>2017-11-06 14:59:02 (GMT)
commitb95a5190ba9284a06f9d0c56589bcb4080b4710a (patch)
tree291c03638172d418302bf0138c88ccbbd3334775 /tools
parent6ba2da90de9acbdfbc0ad1519fd2905e9548cb34 (diff)
downloadu-boot-b95a5190ba9284a06f9d0c56589bcb4080b4710a.tar.xz
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')
-rw-r--r--tools/fdtgrep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index f51f5f1..5897b6d 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