]> git.ipfire.org Git - thirdparty/u-boot.git/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)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Oct 2018 17:16:23 +0000 (18:16 +0100)
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 4d32fe5910f22a97553446db5839374585c525e6..77370a3f4f9d08156f2291bb27a3e289b4d7a980 100644 (file)
@@ -240,7 +240,7 @@ endif # !LOGO_BMP
 #
 HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.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 \