From: Mike Frysinger Date: Thu, 27 Dec 2007 15:25:17 -0500 Subject: [U-Boot-Users] [patch] do not use linux/string.h in sha1.c on hosts In-Reply-To: <4773FCEF.2040507@semihalf.com> References: <20071225211414.470F62410D@gemini.denx.de> <200712271342.58728.vapier@gentoo.org> <4773FCEF.2040507@semihalf.com> Message-ID: <200712271525.19361.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 27 December 2007, Bartlomiej Sieka wrote: > Mike Frysinger 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. > > 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. pick one ... fix sha1.c or dont link it in. doesnt matter to me. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20071227/f9b39eb8/attachment.pgp