From fe47e2a1d257ee323ae284b7ce3702ffe1a71621 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Fri, 2 Mar 2018 23:13:42 +0100 Subject: [PATCH] UPSTREAM: 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. Change-Id: I3ad1329f563d1083828ce168e2c4ee791b553da8 Signed-off-by: Paul Kocialkowski Signed-off-by: Kever Yang --- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile b/tools/Makefile index f3bf68204e..e4a18e37f6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -255,7 +255,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 \