diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-07-21 15:42:40 -0700 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-07-24 09:39:15 +0200 |
commit | 63040b62cbfeec043a229ab240006b104533d08f (patch) | |
tree | 360fbd593377082b0e3281eb07f1d006cab9695c /recipes | |
parent | 5b4a88983b3545f8f894fcbaa420b884f4e13631 (diff) |
distro: Add new feature to indicate thumb-interworking.
* This would be used to decide if we can use BX in return
instructions in uclibc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/uclibc/uclibc-config.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes/uclibc/uclibc-config.inc b/recipes/uclibc/uclibc-config.inc index 5a6fbe82e9..ef4385ed4f 100644 --- a/recipes/uclibc/uclibc-config.inc +++ b/recipes/uclibc/uclibc-config.inc @@ -94,10 +94,8 @@ def uclibc_cfg(feature, features, tokens, cnf, rem): # Map distro and machine features to config settings def features_to_uclibc_settings(d): cnf, rem = ([], []) - distro_features = bb.data.getVar('DISTRO_FEATURES', d).split() - if bb.data.getVar('THUMB_INTERWORKING', d, 1) == "yes": - distro_features += "thumb-interworking" - #machine_features = bb.data.getVar('MACHINE_FEATURES', d).split() + distro_features = bb.data.getVar('DISTRO_FEATURES', d, True).split() + #machine_features = bb.data.getVar('MACHINE_FEATURES', d, True).split() uclibc_cfg('ipv4', distro_features, 'UCLIBC_HAS_IPV4', cnf, rem) uclibc_cfg('ipv6', distro_features, 'UCLIBC_HAS_IPV6', cnf, rem) uclibc_cfg('largefile', distro_features, 'UCLIBC_HAS_LFS', cnf, rem) |