summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-05-30 15:45:28 +0200
committerTom Rini <trini@ti.com>2014-06-11 16:25:38 -0400
commit18b06652cdd58364fe1493fd9996dce2333ed5ba (patch)
treea3adea80bc1ffe9e1b422c92c5d1b586c63c3908 /tools/Makefile
parent9262233a963713f1ab77bcf30dcaffdfe6822200 (diff)
downloadtalos-obmc-uboot-18b06652cdd58364fe1493fd9996dce2333ed5ba.tar.gz
talos-obmc-uboot-18b06652cdd58364fe1493fd9996dce2333ed5ba.zip
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/Makefile')
-rw-r--r--tools/Makefile1
1 files changed, 1 insertions, 0 deletions
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 \
OpenPOWER on IntegriCloud