From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Sieka Date: Thu, 27 Dec 2007 20:28:47 +0100 Subject: [U-Boot-Users] [patch] do not use linux/string.h in sha1.c on hosts In-Reply-To: <200712271342.58728.vapier@gentoo.org> References: <20071225211414.470F62410D@gemini.denx.de> <200712271342.58728.vapier@gentoo.org> Message-ID: <4773FCEF.2040507@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Regards, Bartlomiej