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

Wolfgang Denk wd at denx.de
Wed Jan 9 21:42:23 CET 2008


In message <200712271342.58728.vapier at gentoo.org> you 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.
> 
> Signed-Off-By: Mike Frysinger <vapier at gentoo.org>

Applied. Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When you die, the first thing you lose is your life. The  next  thing
is the illusions.                       - Terry Pratchett, _Pyramids_




More information about the U-Boot mailing list