diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-07-29 22:21:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 15:26:17 +0100 |
commit | 375cf1561c0c9356a629495256423b44ddced9b6 (patch) | |
tree | 9de44c4b9515654d168d4ea0610a34aa528dc0ec /meta/conf/multilib.conf | |
parent | 92ad22dc08dd5e615a242425a1d089c4892f5a43 (diff) | |
download | poky-375cf1561c0c9356a629495256423b44ddced9b6.tar.gz |
utils.bbclass/multilib.class: Added misc supporting functions.
1. Added variable MULTILIB_VARIANTS to store all the instance variants
for multilib extend.
2. Added function all_multilib_tune_values to collect the variable
values for all multilib instance.
3. multilib bbclass handler will save the orignal value of all variables
defined in MULTILIB_SAVE_VARNAME.
(From OE-Core rev: 18bba910e04bff75460f408e4557d4bae21ad592)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/multilib.conf')
-rw-r--r-- | meta/conf/multilib.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index f2a2002355..36793d247e 100644 --- a/meta/conf/multilib.conf +++ b/meta/conf/multilib.conf | |||
@@ -1,6 +1,9 @@ | |||
1 | 1 | ||
2 | baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}" | 2 | baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}" |
3 | 3 | ||
4 | MULTILIB_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" | ||
5 | MULTILIB_SAVE_VARNAME = "DEFAULTTUNE" | ||
6 | |||
4 | MULTILIBS ??= "multilib:lib32" | 7 | MULTILIBS ??= "multilib:lib32" |
5 | 8 | ||
6 | BBCLASSEXTEND_append_pn-acl = " ${MULTILIBS}" | 9 | BBCLASSEXTEND_append_pn-acl = " ${MULTILIBS}" |