Makefile: Add a 'checkthumb' rule
authorTom Rini <trini@ti.com>
Fri, 16 Mar 2012 06:34:35 +0000 (06:34 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:26 +0000 (08:31 +0200)
commit06a119a03147aec3cf1fe746a6ef0aa1c66e7e72
tree8eebd037181aea6347e14f0d80402dd06ec64384
parent19a695f84bb15e1a9203121f9dd4d1787d9a7757
Makefile: Add a 'checkthumb' rule

This rule confirms that if we're on ARM and we have enabled THUMB builds
that we have a new enough toolchain to produce a working binary.

Changes in v2:
- Switch to ALL-$(CONFIG_SYS_THUMB_BUILD) in arch/arm/config.mk (Mike F)
- Simplfy checkthumb test after doing the above

Signed-off-by: Tom Rini <trini@ti.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Makefile
arch/arm/config.mk