diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-04-29 20:23:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-29 23:36:10 +0100 |
commit | f98159f9d34618a7f09f735a22848c7871a068eb (patch) | |
tree | 726984addb1a5d84921f9a95bfb5f9abe372c157 /meta/conf/machine/include/arm/feature-arm-thumb.inc | |
parent | 985f818ab3400b60fb7cd51b084542382a3048af (diff) | |
download | poky-f98159f9d34618a7f09f735a22848c7871a068eb.tar.gz |
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
(From OE-Core rev: 1e1b42f687b5cd34623fe2682218958e1947eb92)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/feature-arm-thumb.inc')
-rw-r--r-- | meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc index 69c628ac9b..a94386f577 100644 --- a/meta/conf/machine/include/arm/feature-arm-thumb.inc +++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc | |||
@@ -30,7 +30,7 @@ python () { | |||
30 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" | 30 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}', '', d)}" |
31 | OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb', '', d)}" | 31 | OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ':thumb', '', d)}" |
32 | 32 | ||
33 | ARMPKGSFX_THUMB .= "${ARM_THUMB_SUFFIX}" | 33 | ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d)}" |
34 | 34 | ||
35 | # Whether to compile with code to allow interworking between the two | 35 | # Whether to compile with code to allow interworking between the two |
36 | # instruction sets. This allows thumb code to be executed on a primarily | 36 | # instruction sets. This allows thumb code to be executed on a primarily |