diff options
Diffstat (limited to 'meta/recipes-core/eglibc')
-rw-r--r-- | meta/recipes-core/eglibc/cross-localedef-native_2.15.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/cross-localedef-native_2.16.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-ld.inc | 90 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-options.inc | 20 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.15.bb | 6 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.16.bb | 4 |
6 files changed, 62 insertions, 62 deletions
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb index 493eb61a7a..422e0bb118 100644 --- a/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb +++ b/meta/recipes-core/eglibc/cross-localedef-native_2.15.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h | |||
20 | S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" | 20 | S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" |
21 | 21 | ||
22 | do_unpack_append() { | 22 | do_unpack_append() { |
23 | bb.build.exec_func('do_move_ports', d) | 23 | bb.build.exec_func('do_move_ports', d) |
24 | } | 24 | } |
25 | 25 | ||
26 | do_move_ports() { | 26 | do_move_ports() { |
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb index 0f870be10c..47f0834003 100644 --- a/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb +++ b/meta/recipes-core/eglibc/cross-localedef-native_2.16.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h | |||
20 | S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" | 20 | S = "${WORKDIR}/${EGLIBC_BRANCH}/localedef" |
21 | 21 | ||
22 | do_unpack_append() { | 22 | do_unpack_append() { |
23 | bb.build.exec_func('do_move_ports', d) | 23 | bb.build.exec_func('do_move_ports', d) |
24 | } | 24 | } |
25 | 25 | ||
26 | do_move_ports() { | 26 | do_move_ports() { |
diff --git a/meta/recipes-core/eglibc/eglibc-ld.inc b/meta/recipes-core/eglibc/eglibc-ld.inc index b3eb46e160..e596b5591f 100644 --- a/meta/recipes-core/eglibc/eglibc-ld.inc +++ b/meta/recipes-core/eglibc/eglibc-ld.inc | |||
@@ -1,54 +1,54 @@ | |||
1 | def ld_append_if_tune_exists(d, infos, dict): | 1 | def ld_append_if_tune_exists(d, infos, dict): |
2 | tune = d.getVar("DEFAULTTUNE", True) or "" | 2 | tune = d.getVar("DEFAULTTUNE", True) or "" |
3 | libdir = d.getVar("base_libdir", True) or "" | 3 | libdir = d.getVar("base_libdir", True) or "" |
4 | if dict.has_key(tune): | 4 | if dict.has_key(tune): |
5 | infos['ldconfig'].add('{"' + libdir + '/' + dict[tune][0] + '",' + dict[tune][1] + ' }') | 5 | infos['ldconfig'].add('{"' + libdir + '/' + dict[tune][0] + '",' + dict[tune][1] + ' }') |
6 | infos['lddrewrite'].add(libdir+'/'+dict[tune][0]) | 6 | infos['lddrewrite'].add(libdir+'/'+dict[tune][0]) |
7 | 7 | ||
8 | def eglibc_dl_info(d): | 8 | def eglibc_dl_info(d): |
9 | ld_info_all = { | 9 | ld_info_all = { |
10 | "mips": ["ld.so.1", "FLAG_ELF_LIBC6"], | 10 | "mips": ["ld.so.1", "FLAG_ELF_LIBC6"], |
11 | "mips64-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], | 11 | "mips64-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], |
12 | "mips64": ["ld.so.1", "FLAG_ELF_LIBC6"], | 12 | "mips64": ["ld.so.1", "FLAG_ELF_LIBC6"], |
13 | "mipsel": ["ld.so.1", "FLAG_ELF_LIBC6"], | 13 | "mipsel": ["ld.so.1", "FLAG_ELF_LIBC6"], |
14 | "mips64el-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], | 14 | "mips64el-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], |
15 | "mips64el": ["ld.so.1", "FLAG_ELF_LIBC6"], | 15 | "mips64el": ["ld.so.1", "FLAG_ELF_LIBC6"], |
16 | "mips-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], | 16 | "mips-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], |
17 | "mips64-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], | 17 | "mips64-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], |
18 | "mips64-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], | 18 | "mips64-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], |
19 | "mips64el-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], | 19 | "mips64el-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"], |
20 | "mips64el-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], | 20 | "mips64el-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], |
21 | "powerpc": ["ld.so.1", "FLAG_ELF_LIBC6"], | 21 | "powerpc": ["ld.so.1", "FLAG_ELF_LIBC6"], |
22 | "powerpc-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], | 22 | "powerpc-nf": ["ld.so.1", "FLAG_ELF_LIBC6"], |
23 | "powerpc64": ["ld64.so.1", "FLAG_ELF_LIBC6"], | 23 | "powerpc64": ["ld64.so.1", "FLAG_ELF_LIBC6"], |
24 | "powerpc64-nf": ["ld64.so.1", "FLAG_ELF_LIBC6"], | 24 | "powerpc64-nf": ["ld64.so.1", "FLAG_ELF_LIBC6"], |
25 | "core2": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], | 25 | "core2": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], |
26 | "core2-64": ["ld-linux-x86-64.so.2", "FLAG_ELF_LIBC6"], | 26 | "core2-64": ["ld-linux-x86-64.so.2", "FLAG_ELF_LIBC6"], |
27 | "x86": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], | 27 | "x86": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], |
28 | "x86-64": ["ld-linux-x86-64.so.2", "FLAG_ELF_LIBC6"], | 28 | "x86-64": ["ld-linux-x86-64.so.2", "FLAG_ELF_LIBC6"], |
29 | "i586": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], | 29 | "i586": ["ld-linux.so.2", "FLAG_ELF_LIBC6"], |
30 | } | 30 | } |
31 | 31 | ||
32 | infos = {'ldconfig':set(), 'lddrewrite':set()} | 32 | infos = {'ldconfig':set(), 'lddrewrite':set()} |
33 | ld_append_if_tune_exists(d, infos, ld_info_all) | 33 | ld_append_if_tune_exists(d, infos, ld_info_all) |
34 | 34 | ||
35 | #DEFAULTTUNE_MULTILIB_ORIGINAL | 35 | #DEFAULTTUNE_MULTILIB_ORIGINAL |
36 | original_tune=d.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL",True) | 36 | original_tune=d.getVar("DEFAULTTUNE_MULTILIB_ORIGINAL",True) |
37 | if original_tune: | 37 | if original_tune: |
38 | localdata = bb.data.createCopy(d) | 38 | localdata = bb.data.createCopy(d) |
39 | localdata.setVar("DEFAULTTUNE", original_tune) | 39 | localdata.setVar("DEFAULTTUNE", original_tune) |
40 | ld_append_if_tune_exists(localdata, infos, ld_info_all) | 40 | ld_append_if_tune_exists(localdata, infos, ld_info_all) |
41 | 41 | ||
42 | variants = d.getVar("MULTILIB_VARIANTS", True) or "" | 42 | variants = d.getVar("MULTILIB_VARIANTS", True) or "" |
43 | for item in variants.split(): | 43 | for item in variants.split(): |
44 | localdata = bb.data.createCopy(d) | 44 | localdata = bb.data.createCopy(d) |
45 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item | 45 | overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item |
46 | localdata.setVar("OVERRIDES", overrides) | 46 | localdata.setVar("OVERRIDES", overrides) |
47 | bb.data.update_data(localdata) | 47 | bb.data.update_data(localdata) |
48 | ld_append_if_tune_exists(localdata, infos, ld_info_all) | 48 | ld_append_if_tune_exists(localdata, infos, ld_info_all) |
49 | infos['ldconfig'] = ','.join(infos['ldconfig']) | 49 | infos['ldconfig'] = ','.join(infos['ldconfig']) |
50 | infos['lddrewrite'] = ' '.join(infos['lddrewrite']) | 50 | infos['lddrewrite'] = ' '.join(infos['lddrewrite']) |
51 | return infos | 51 | return infos |
52 | 52 | ||
53 | EGLIBC_KNOWN_INTERPRETER_NAMES = "${@eglibc_dl_info(d)['ldconfig']}" | 53 | EGLIBC_KNOWN_INTERPRETER_NAMES = "${@eglibc_dl_info(d)['ldconfig']}" |
54 | RTLDLIST = "${@eglibc_dl_info(d)['lddrewrite']}" | 54 | RTLDLIST = "${@eglibc_dl_info(d)['lddrewrite']}" |
diff --git a/meta/recipes-core/eglibc/eglibc-options.inc b/meta/recipes-core/eglibc/eglibc-options.inc index bd90ee79a2..6009278577 100644 --- a/meta/recipes-core/eglibc/eglibc-options.inc +++ b/meta/recipes-core/eglibc/eglibc-options.inc | |||
@@ -1,14 +1,14 @@ | |||
1 | def eglibc_cfg(feature, features, tokens, cnf): | 1 | def eglibc_cfg(feature, features, tokens, cnf): |
2 | if type(tokens) == type(""): | 2 | if type(tokens) == type(""): |
3 | tokens = [tokens] | 3 | tokens = [tokens] |
4 | if type(features) == type([]) and feature in features: | 4 | if type(features) == type([]) and feature in features: |
5 | cnf.extend([token + ' = y' for token in tokens]) | 5 | cnf.extend([token + ' = y' for token in tokens]) |
6 | else: | 6 | else: |
7 | for token in tokens: | 7 | for token in tokens: |
8 | cnf.extend([token + ' = n']) | 8 | cnf.extend([token + ' = n']) |
9 | if token == 'OPTION_EGLIBC_NSSWITCH': | 9 | if token == 'OPTION_EGLIBC_NSSWITCH': |
10 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = ${S}/nss/nsswitch.conf"]) | 10 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG = ${S}/nss/nsswitch.conf"]) |
11 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${S}/nss/fixed-nsswitch.functions"]) | 11 | cnf.extend(["OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${S}/nss/fixed-nsswitch.functions"]) |
12 | 12 | ||
13 | # arrange the dependencies among eglibc configuable options according to file option-groups.def from eglibc source code | 13 | # arrange the dependencies among eglibc configuable options according to file option-groups.def from eglibc source code |
14 | def distro_features_check_deps(distro_features): | 14 | def distro_features_check_deps(distro_features): |
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb index 110febfe52..4d4d2cf2ed 100644 --- a/meta/recipes-core/eglibc/eglibc_2.15.bb +++ b/meta/recipes-core/eglibc/eglibc_2.15.bb | |||
@@ -78,7 +78,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | |||
78 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" | 78 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" |
79 | 79 | ||
80 | do_unpack_append() { | 80 | do_unpack_append() { |
81 | bb.build.exec_func('do_move_ports', d) | 81 | bb.build.exec_func('do_move_ports', d) |
82 | } | 82 | } |
83 | 83 | ||
84 | do_move_ports() { | 84 | do_move_ports() { |
@@ -89,8 +89,8 @@ do_move_ports() { | |||
89 | } | 89 | } |
90 | 90 | ||
91 | do_patch_append() { | 91 | do_patch_append() { |
92 | bb.build.exec_func('do_fix_ia_headers', d) | 92 | bb.build.exec_func('do_fix_ia_headers', d) |
93 | bb.build.exec_func('do_fix_readlib_c', d) | 93 | bb.build.exec_func('do_fix_readlib_c', d) |
94 | } | 94 | } |
95 | 95 | ||
96 | # for mips eglibc now builds syscall tables for all abi's | 96 | # for mips eglibc now builds syscall tables for all abi's |
diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb index 23a4130185..7e7d68b87d 100644 --- a/meta/recipes-core/eglibc/eglibc_2.16.bb +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb | |||
@@ -76,7 +76,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ | |||
76 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" | 76 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" |
77 | 77 | ||
78 | do_unpack_append() { | 78 | do_unpack_append() { |
79 | bb.build.exec_func('do_move_ports', d) | 79 | bb.build.exec_func('do_move_ports', d) |
80 | } | 80 | } |
81 | 81 | ||
82 | do_move_ports() { | 82 | do_move_ports() { |
@@ -87,7 +87,7 @@ do_move_ports() { | |||
87 | } | 87 | } |
88 | 88 | ||
89 | do_patch_append() { | 89 | do_patch_append() { |
90 | bb.build.exec_func('do_fix_readlib_c', d) | 90 | bb.build.exec_func('do_fix_readlib_c', d) |
91 | } | 91 | } |
92 | 92 | ||
93 | # for mips eglibc now builds syscall tables for all abi's | 93 | # for mips eglibc now builds syscall tables for all abi's |