aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeroen Hofstee2014-05-30 15:45:28 +0200
committerTom Rini2014-06-11 16:25:38 -0400
commit18b06652cdd58364fe1493fd9996dce2333ed5ba (patch)
treea3adea80bc1ffe9e1b422c92c5d1b586c63c3908 /tools
parent9262233a963713f1ab77bcf30dcaffdfe6822200 (diff)
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 <sjg@chromium.org> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 40890cfe597..762f7dce9ba 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 \