• Andreas Bießmann's avatar
    lib/sha256: fix compile on some hosts · 822ef00e
    Andreas Bießmann authored
    Commit 2842c1c2 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: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
    Cc: Heiko Schocher <hs@denx.de>
    Acked-by: Heiko Schocher<hs@denx.de>
    822ef00e
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
nand_spl Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
spl Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
boards.cfg Loading commit data...
config.mk Loading commit data...
mkconfig Loading commit data...
snapshot.commit Loading commit data...