diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-04-20 10:34:15 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-05-12 15:19:46 -0400 |
commit | 822ef00e989f1b99d8f0554d74fa0d97ce007f06 (patch) | |
tree | fc5f093920d8a7b5f50f192d45cc9a398bbb5e8c /Makefile | |
parent | 65bb6d8deebf608ac2bd6c3eb60ad81cf5d30f60 (diff) | |
download | u-boot-imx-822ef00e989f1b99d8f0554d74fa0d97ce007f06.zip u-boot-imx-822ef00e989f1b99d8f0554d74fa0d97ce007f06.tar.gz u-boot-imx-822ef00e989f1b99d8f0554d74fa0d97ce007f06.tar.bz2 |
lib/sha256: fix compile on some hosts
Commit 2842c1c24269a05142802d25520e7cb9035e456c introduced lib/sha256 into
mkimage. Since then it will be compiled with HOSTCC which may produce errors
on some systems. Most BSD systems (like OS X for me) do not ship a
linux/string.h which will lead to take the U-Boot provided
include/linux/string.h in the end. This header howver is completely wrong
here. Just take the string.h if compiling with HOSTCC and linux/string.h when
not.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher<hs@denx.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions