[OE-core] [PATCH 1/2] feature-arm-thumb.inc: Use thumb instruction by default if TUNE_FEATURES thumb

Koen Kooi koen at dominion.thruhere.net
Sat Jan 11 15:10:41 UTC 2014


Op 11 jan. 2014, om 16:08 heeft Andrei Gherzan <andrei at gherzan.ro> het volgende geschreven:

> Avoid a confusion when including thumb in TUNE_FATURES. In the curent behavior,
> if I include thumb in TUNE_FATURES, ARM_THUMB_M_OPT will be "-marm" which makes
> no sense for me as a default behavior. Obviously I can change this by using
> ARM_INSTRUCTION_SET = thumb. But this seems strange and confusing. So let's do
> it the other way around: have thumb instructions as default when TUNE_FATURES
> contains "thumb" and switch to "arm" instructions when ARM_INSTRUCTION_SET is
> "arm".

Since ARM_INSTRUCTION_SET is unset for most things this will change the default, are you sure that this is what you want?

regards,

Koen


More information about the Openembedded-core mailing list