mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
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>
This commit is contained in:
parent
a84f559262
commit
e0d20dc152
@ -244,7 +244,7 @@ endif # !LOGO_BMP
|
|||||||
#
|
#
|
||||||
HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \
|
HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \
|
||||||
$(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
|
$(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
|
||||||
-I$(srctree)/lib/libfdt \
|
-I$(srctree)/scripts/dtc/libfdt \
|
||||||
-I$(srctree)/tools \
|
-I$(srctree)/tools \
|
||||||
-DUSE_HOSTCC \
|
-DUSE_HOSTCC \
|
||||||
-D__KERNEL_STRICT_NAMES \
|
-D__KERNEL_STRICT_NAMES \
|
||||||
|
Loading…
Reference in New Issue
Block a user