feature-arm-thumb.inc: set ARMPKGSFX_THUMB only when thumb is in TUNE_FEATURES
PATCH 1/1 feature-arm-thumb.inc: set ARMPKGSFX_THUMB only when thumb is in TUNE_FEATURES
* there is issue for TUNE_PKGARCH missing in PACKAGE_ARCHS for machines without thumb enabled, it was reported by Jacob Kroon on IRC
Signed-off-by Martin Jansa <[email protected]>
--- meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/arm/feature-arm-thumb.inc +1 -1
@@ -28,7 +28,7 @@ python () { TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb', '', d)}" -ARMPKGSFX_THUMB .= "${ARM_THUMB_SUFFIX}" +ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d)}" # Whether to compile with code to allow interworking between the two # instruction sets. This allows thumb code to be executed on a primarily
Signature · 1 line
1.9.1
Quoted 28 lines · Martin Jansa
* there is issue for
TUNE_PKGARCHmissing inPACKAGE_ARCHSfor machines without thumb enabled, it was reported by Jacob Kroon on IRCSigned-off-by Martin Jansa <[email protected]>--- meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/conf/machine/include/arm/feature-arm-thumb.inc +0
-1@@ -28,7 +28,7 @@ python () { TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb','', d)}"
meta/conf/machine/include/arm/feature-arm-thumb.inc +1
-1-ARMPKGSFX_THUMB .= "${ARM_THUMB_SUFFIX}" +ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb','${ARM_THUMB_SUFFIX}', '', d)}"
# Whether to compile with code to allow interworking between the two
# instruction sets. This allows thumb code to be executed on a primarily -- 1.9.1
Quoted 6 lines
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Tested-by Jacob Kroon <[email protected]>