diff options
author | Saul Wold <sgw@linux.intel.com> | 2015-01-15 06:39:06 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 23:08:28 +0000 |
commit | 08970d45bfa491b215a0dd90f19995a752e616c9 (patch) | |
tree | 7d58eec7c4086f2ff4eb640d9575dcc772bac766 /meta/recipes-core/glibc/glibc_2.20.bb | |
parent | 2d58e62525b5c50d657ae57df598e33375514409 (diff) | |
download | poky-08970d45bfa491b215a0dd90f19995a752e616c9.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)
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>
Diffstat (limited to 'meta/recipes-core/glibc/glibc_2.20.bb')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.20.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 | ||
95 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" | 96 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" |
97 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'libc-inet-anl', '--enable-nscd', '--disable-nscd', d)}" | ||
98 | |||
96 | 99 | ||
97 | do_patch_append() { | 100 | do_patch_append() { |
98 | bb.build.exec_func('do_fix_readlib_c', d) | 101 | bb.build.exec_func('do_fix_readlib_c', d) |