diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-06-07 16:16:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-14 15:29:12 +0100 |
commit | fbc60cc5ba2284bfcaea8c82001a49b7795cc2a2 (patch) | |
tree | b126a32adab444f091d012d8d2943d17660d3080 /meta/recipes-core/eglibc/eglibc.inc | |
parent | 81d14f5629b4eeb2096ccb52812e5775fe0125e9 (diff) | |
download | poky-fbc60cc5ba2284bfcaea8c82001a49b7795cc2a2.tar.gz |
eglibc: migrate configurability from oe
Migrate configurability from oe, try to shrink minimal image size
All eglibc configuration options are included in conf/distro/include/default-distrovars.inc.
Define DISTRO_FEATURES_LIBC and DISTRO_FEATURES in local.conf with the same way
in local.conf.sample.extended to enable those options.
(From OE-Core rev: 022ca1d1357caafdfe23aa9ab82f90ba89b6942b)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 46ffa82184..616f1aff6d 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc | |||
@@ -28,6 +28,7 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" | |||
28 | PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | 28 | PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
29 | PROVIDES += "virtual/libintl virtual/libiconv" | 29 | PROVIDES += "virtual/libintl virtual/libiconv" |
30 | inherit autotools | 30 | inherit autotools |
31 | require eglibc-options.inc | ||
31 | 32 | ||
32 | LEAD_SONAME = "libc.so" | 33 | LEAD_SONAME = "libc.so" |
33 | 34 | ||
@@ -43,3 +44,8 @@ EXTRA_OEMAKE += ${EGLIBCPARALLELISM} | |||
43 | PARALLEL_MAKE = "" | 44 | PARALLEL_MAKE = "" |
44 | 45 | ||
45 | PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile" | 46 | PACKAGES = "glibc catchsegv sln nscd ldd localedef glibc-utils glibc-dev glibc-doc glibc-locale libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile" |
47 | |||
48 | OE_FEATURES = "${@features_to_eglibc_settings(d)}" | ||
49 | do_configure_prepend() { | ||
50 | echo '${OE_FEATURES}' > ${B}/option-groups.config | ||
51 | } | ||