Skip to content
Snippets Groups Projects
Commit b95a5190 authored by Jan Kundrát's avatar Jan Kundrát Committed by Tom Rini
Browse files

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: default avatarJan Kundrát <jan.kundrat@cesnet.cz>
parent 6ba2da90
No related branches found
No related tags found
No related merge requests found
#include <../lib/libfdt/fdt.h>
#include "../lib/libfdt/fdt.h"
#include <../lib/libfdt/libfdt.h>
#include "../lib/libfdt/libfdt.h"
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment