[OE-core] [RFC][PATCH] arch-armv4.inc: add --fix-v4bx to TARGET_LD_KERNEL_ARCH only for armv4 and strongarm1100

Phil Blundell philb at gnu.org
Fri Nov 23 09:52:28 UTC 2012


On Fri, 2012-11-23 at 10:09 +0100, Martin Jansa wrote:
> -TARGET_LD_KERNEL_ARCH += "${@bb.utils.contains("TUNE_FEATURES", "armv4", "--fix-v4bx", "", d)}"
> +TARGET_LD_KERNEL_ARCH += "${@bb.utils.contains("DEFAULTTUNE", "armv4", "--fix-v4bx", "", d)}"

Testing DEFAULTTUNE doesn't really seem like the right thing.  Not that
I am any expert in the twisty maze of tune variables, but I would have
thought this should be:

TARGET_LD_KERNEL_ARCH += "${@bb.utils.contains("TUNE_FEATURES", "thumb", "", "--fix-v4bx", d)}"

Or maybe it could just be fixed in the kernel, since its own build
system already knows whether Thumb is available or not.

p.






More information about the Openembedded-core mailing list