[U-Boot-Users] [patch] do not use linux/string.h in sha1.c on hosts

Bartlomiej Sieka tur at semihalf.com
Thu Dec 27 20:28:47 CET 2007


Mike Frysinger wrote:
> On Tuesday 25 December 2007, Wolfgang Denk wrote:
>> In message <200712241709.31277.vapier at gentoo.org> you wrote:
>>> linux/string.h is not a valid include outside of the kernel, so when
>>> compiling sha1.c for the host (for use with the `mkimage` host binary),
>>> the include needs to be changed to string.h.
>> But IIRC mkimage does not use any sha1 code ...
> 
> the Makefile claims otherwise ... patch attached to remove sha1.o from mkimage
> linking since it isnt actually used.

It is likely we'll need sha1 support in mkimage for the new uImage
format. Let's wait with this patch until mkimage extension to the new
uImage format is settled down.

Regards,
Bartlomiej




More information about the U-Boot mailing list