From: Wolfgang Denk Date: Wed, 09 Jan 2008 21:42:23 +0100 Subject: [U-Boot-Users] [patch] do not use linux/string.h in sha1.c on hosts In-Reply-To: Your message of "Thu, 27 Dec 2007 13:42:56 EST." <200712271342.58728.vapier@gentoo.org> Message-ID: <20080109204223.EC9BD24755@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <200712271342.58728.vapier@gentoo.org> you wrote: > On Tuesday 25 December 2007, Wolfgang Denk wrote: > > In message <200712241709.31277.vapier@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 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_