• 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
..
libfdt Loading commit data...
lzma Loading commit data...
lzo Loading commit data...
rsa Loading commit data...
tizen Loading commit data...
zlib Loading commit data...
Makefile Loading commit data...
addr_map.c Loading commit data...
aes.c Loading commit data...
asm-offsets.c Loading commit data...
bch.c Loading commit data...
bitrev.c Loading commit data...
bzlib.c Loading commit data...
bzlib_crctable.c Loading commit data...
bzlib_decompress.c Loading commit data...
bzlib_huffman.c Loading commit data...
bzlib_private.h Loading commit data...
bzlib_randtable.c Loading commit data...
circbuf.c Loading commit data...
crc16.c Loading commit data...
crc32.c Loading commit data...
crc7.c Loading commit data...
crc8.c Loading commit data...
ctype.c Loading commit data...
display_options.c Loading commit data...
div64.c Loading commit data...
errno.c Loading commit data...
fdtdec.c Loading commit data...
fdtdec_test.c Loading commit data...
gunzip.c Loading commit data...
gzip.c Loading commit data...
hang.c Loading commit data...
hashtable.c Loading commit data...
initcall.c Loading commit data...
ldiv.c Loading commit data...
linux_string.c Loading commit data...
lmb.c Loading commit data...
md5.c Loading commit data...
net_utils.c Loading commit data...
physmem.c Loading commit data...
qsort.c Loading commit data...
rand.c Loading commit data...
rbtree.c Loading commit data...
sha1.c Loading commit data...
sha256.c Loading commit data...
slre.c Loading commit data...
string.c Loading commit data...
strmhz.c Loading commit data...
time.c Loading commit data...
tpm.c Loading commit data...
trace.c Loading commit data...
uuid.c Loading commit data...
vsprintf.c Loading commit data...