[U-Boot] [PATCH v2] Makefile: Add a 'checkthumb' rule

Mike Frysinger vapier at gentoo.org
Fri Mar 16 20:40:04 CET 2012


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 <vapier at gentoo.org>
-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: <http://lists.denx.de/pipermail/u-boot/attachments/20120316/753c41cb/attachment.pgp>


More information about the U-Boot mailing list