summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-01-15 06:39:06 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-11 17:40:04 +0000
commiteed2260137e84e176da67014649626bcdd3af265 (patch)
tree0a3ab9247a525b5da76f9fb72c172562f6fd5a1e /meta/recipes-core/glibc
parent81b8da4c88b8c4fe9261b3f60647523b8a8ae4ad (diff)
downloadpoky-eed2260137e84e176da67014649626bcdd3af265.tar.gz
glibc: Fix up minimal build with libc-libm
This addresses 2 issues discovered trying to build a minimal libc with libm option. By default nscd was always being built and without inet enabled there were missing symbols. [YOCTO #7108] (From OE-Core rev: 89649881bcd0e76d6ee7c85c30e75bb01e1c004f) (From OE-Core rev: 965943176c580b7943bb4d94efd58b8818c04919) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch3
-rw-r--r--meta/recipes-core/glibc/glibc_2.20.bb3
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
index 7136253c8b..332b8f73a6 100644
--- a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
+++ b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch
@@ -4205,7 +4205,8 @@ Index: git/nss/getent.c
4205 D(gshadow) 4205 D(gshadow)
4206-D(hosts) 4206-D(hosts)
4207+DN(hosts) 4207+DN(hosts)
4208 D(initgroups) 4208-D(initgroups)
4209+DN(initgroups)
4209-D(netgroup) 4210-D(netgroup)
4210-D(networks) 4211-D(networks)
4211+DN(netgroup) 4212+DN(netgroup)
diff --git a/meta/recipes-core/glibc/glibc_2.20.bb b/meta/recipes-core/glibc/glibc_2.20.bb
index 9dd5e67ce8..f67fbfdf0d 100644
--- a/meta/recipes-core/glibc/glibc_2.20.bb
+++ b/meta/recipes-core/glibc/glibc_2.20.bb
@@ -90,9 +90,12 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
90 --without-selinux \ 90 --without-selinux \
91 --enable-obsolete-rpc \ 91 --enable-obsolete-rpc \
92 --with-kconfig=${STAGING_BINDIR_NATIVE} \ 92 --with-kconfig=${STAGING_BINDIR_NATIVE} \
93 --disable-nscd \
93 ${GLIBC_EXTRA_OECONF}" 94 ${GLIBC_EXTRA_OECONF}"
94 95
95EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" 96EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
97EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'libc-inet-anl', '--enable-nscd', '--disable-nscd', d)}"
98
96 99
97do_patch_append() { 100do_patch_append() {
98 bb.build.exec_func('do_fix_readlib_c', d) 101 bb.build.exec_func('do_fix_readlib_c', d)