From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 16 Mar 2012 15:40:04 -0400 Subject: [U-Boot] [PATCH v2] Makefile: Add a 'checkthumb' rule In-Reply-To: <1331915675-25541-1-git-send-email-trini@ti.com> References: <1331911668-22107-2-git-send-email-trini@ti.com> <1331915675-25541-1-git-send-email-trini@ti.com> Message-ID: <201203161540.05141.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 Friday 16 March 2012 12:34:35 Tom Rini wrote: > --- a/Makefile > +++ b/Makefile > > +checkthumb: > + @if test $(call cc-version) -lt 0404; then \ > + echo -n '*** Your GCC does not produce working '; \ fwiw, `echo -n` isn't portable. `printf` is. > + echo 'binaries in THUMB mode.'; \ > + echo '*** Your board is configured for THUMB mode.'; \ > + false; \ > + fi would be nice if we could refactor our .mk's somehow to keep arch and board specific ones out of the top level Makefile. but we can't today :(. Acked-by: Mike Frysinger -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: