From: Jeroen Hofstee Date: Fri, 30 May 2014 13:45:28 +0000 (+0200) Subject: tools: include u-boot version of sha256.h X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=18b06652cd;p=u-boot.git tools: include u-boot version of sha256.h When building tools the u-boot specific sha256.h is required, but the host version of sha256.h is used when present. This leads to build errors on FreeBSD which does have a system sha256.h include. Like libfdt_env.h explicitly include u-boot's sha256.h. cc: Simon Glass Signed-off-by: Jeroen Hofstee Acked-by: Simon Glass --- diff --git a/tools/Makefile b/tools/Makefile index 40890cfe59..762f7dce9b 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -190,6 +190,7 @@ endif # !LOGO_BMP # Define _GNU_SOURCE to obtain the getline prototype from stdio.h # HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ + -include $(srctree)/include/sha256.h \ $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ -I$(srctree)/lib/libfdt \ -I$(srctree)/tools \