
25 Apr
2014
25 Apr
'14
6:59 a.m.
Hello Andreas,
Am 20.04.2014 10:34, schrieb Andreas Bießmann:
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ßmannandreas.devel@googlemail.com Cc: Heiko Schocherhs@denx.de
lib/sha256.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Thanks!
Acked-by: Heiko Schocherhs@denx.de
bye, Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany