[U-Boot] lib/sha256: fix compile on some hosts
Tom Rini
trini at ti.com
Tue May 13 03:52:42 CEST 2014
On Sun, Apr 20, 2014 at 10:34:15AM +0200, Andreas Bießmann wrote:
> 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 at googlemail.com>
> Cc: Heiko Schocher <hs at denx.de>
> Acked-by: Heiko Schocher<hs at denx.de>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140512/d4ebffb6/attachment.pgp>
More information about the U-Boot
mailing list