]> git.sur5r.net Git - u-boot/commitdiff
tools: Include U-Boot libfdt headers from their actual path
authorPaul Kocialkowski <contact@paulk.fr>
Fri, 2 Mar 2018 22:13:42 +0000 (23:13 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 5 Mar 2018 15:16:28 +0000 (10:16 -0500)
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>
tools/Makefile

index d3387fad696ede4ac72bc01f051e9982ac6b4246..f38f68ee47dce4192b7ad39cd0a2cf99db93fadd 100644 (file)
@@ -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 \