[OE-core] [PATCH 2/2] ARM: handle missing thumb suffix

Phil Blundell pb at pbcl.net
Thu Oct 15 13:39:37 UTC 2015


On Thu, 2015-10-15 at 14:09 +0200, Martin Jansa wrote:
> What about consistency with less specific PACKAGE_ARCHs which use "t" 
> to show if it was built with or without thumb?

For the generic architectures, the trailing "t" does serve a useful
purpose.  There exist ARMv5 CPUs that can't run Thumb code (I think
Marvell had some for example) which means it is useful to be able to
draw a distinction between binaries which require Thumb instructions
(armv5t) and those which require only the ARM base instruction set
(armv5).  There are a few places where the support for this in OE is a
bit rough around the edges (it doesn't get armv4 vs armv4t exactly
right) but in general it is close enough and does the right thing in
all the cases that matter.

To turn your question round, what about consistency with more specific
PACKAGE_ARCHs?  We don't use "qemuarmt" or "om-gta01t" for binaries
that happen to be built with Thumb enabled.

p.




More information about the Openembedded-core mailing list