From: Tom Rini Date: Mon, 12 May 2014 21:52:42 -0400 Subject: [U-Boot] lib/sha256: fix compile on some hosts In-Reply-To: <1397982855-12338-1-git-send-email-andreas.devel@googlemail.com> References: <1397982855-12338-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <20140513015242.GT22182@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Apr 20, 2014 at 10:34:15AM +0200, Andreas Bie?mann wrote: > Commit 2842c1c24269a05142802d25520e7cb9035e456c introduced lib/sha256 into > mkimage. Since then it will be compiled with HOSTCC which may produce errors > on some systems. Most BSD systems (like OS X for me) do not ship a > linux/string.h which will lead to take the U-Boot provided > include/linux/string.h in the end. This header howver is completely wrong > here. Just take the string.h if compiling with HOSTCC and linux/string.h when > not. > > Signed-off-by: Andreas Bie?mann > Cc: Heiko Schocher > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: