diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2018-03-02 23:13:42 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-05 10:16:28 -0500 |
commit | e0d20dc1521e74b82dbd69be53a048847798a90a (patch) | |
tree | ff89b80c501c5c921376378ad9047100ad490d5f /tools | |
parent | a84f559262b6c5dc0051e45761f8c00bd5eb9f9a (diff) | |
download | u-boot-e0d20dc1521e74b82dbd69be53a048847798a90a.tar.gz u-boot-e0d20dc1521e74b82dbd69be53a048847798a90a.tar.bz2 u-boot-e0d20dc1521e74b82dbd69be53a048847798a90a.zip |
tools: Include U-Boot libfdt headers from their actual path
There are no headers for libfdt in lib/libfdt, as they are instead
located in scripts/dtc/libfdt. Specifying lib/libfdt for headers
inclusion in host tools results in using the system libfdt headers,
which is not what we want. Change this to the proper path.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile index d3387fad69..f38f68ee47 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -244,7 +244,7 @@ endif # !LOGO_BMP # HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \ $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ - -I$(srctree)/lib/libfdt \ + -I$(srctree)/scripts/dtc/libfdt \ -I$(srctree)/tools \ -DUSE_HOSTCC \ -D__KERNEL_STRICT_NAMES \ |