From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED PULL 14/22] default-distrovars: Define DISTRO_FEATURES_LIBC for uclibc
Date: Tue, 10 Jan 2012 17:58:24 +0000 [thread overview]
Message-ID: <1326218304.23315.8.camel@ted> (raw)
In-Reply-To: <1326193275.12160.65.camel@phil-desktop>
On Tue, 2012-01-10 at 11:01 +0000, Phil Blundell wrote:
> On Mon, 2012-01-09 at 21:54 -0800, Saul Wold wrote:
> > diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> > index e1594f3..0b515e5 100644
> > --- a/meta/conf/distro/include/default-distrovars.inc
> > +++ b/meta/conf/distro/include/default-distrovars.inc
> > @@ -10,6 +10,8 @@ LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB"
> > ENABLE_BINARY_LOCALE_GENERATION ?= "1"
> > LOCALE_UTF8_ONLY ?= "0"
> >
> > +DISTRO_FEATURES_LIBC_libc-uclibc ?= "ipv4 ipv6 largefile libc-posix-clang-wchar"
> > +
> > DISTRO_FEATURES_LIBC ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
> > libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
> > libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \
>
> This looks like a bad idea to me. I think that override will cause
> potentially surprising behaviour for folks who are trying to set
> DISTRO_FEATURES_LIBC by hand. And, as far as I can tell, this patch
> won't make any functional difference since uclibc will just ignore the
> features it doesn't understand.
Agreed. If this really is an issue we could do something like:
DEFAULTLIBFEATURES = "xxx"
DEFAULTLIBFEATURES_libc-uclibc = "yyy"
DISTRO_FEATURES_LIBC ?= "${DEFAULTLIBCFEATURES}"
Cheers,
Richard
next prev parent reply other threads:[~2012-01-10 18:06 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 5:53 [CONSOLIDATED PULL 00/22] Patches and Updates for M2 Saul Wold
2012-01-10 5:53 ` [CONSOLIDATED PULL 01/22] libxxf86dga: fix compilation with x32 toolchain Saul Wold
2012-01-10 5:53 ` [CONSOLIDATED PULL 02/22] add sysroot support for meta-ide-support which is the toolchain within build env case Saul Wold
2012-01-10 5:53 ` [CONSOLIDATED PULL 03/22] site/common-uclibc: Cache gl_cv_func_wcwidth_works Saul Wold
2012-01-10 18:13 ` Khem Raj
2012-01-10 18:18 ` Saul Wold
2012-01-10 18:24 ` Khem Raj
2012-01-10 5:53 ` [CONSOLIDATED PULL 04/22] libiconv_1.14.bb: Fix build failure Saul Wold
2012-01-10 5:53 ` [CONSOLIDATED PULL 05/22] libusb1: keep *.la in base_libdir Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 06/22] libusb-compat: " Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 07/22] Remove last remnants of kernel26 MACHINE_FEATURES Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 08/22] dbus: change permissions of dbus-daemon-launch-helper to 4755 Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 09/22] gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 10/22] update-modules: don't run modutils.sh if systemd is installed Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 11/22] eglibc: Upgrade recipes 2.14 -> 2.15 Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 12/22] libxml2: add shared library version info to libxml shared libraries Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 13/22] autotools.bbclass: Introduce CACHED_CONFIGUREVARS Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 14/22] default-distrovars: Define DISTRO_FEATURES_LIBC for uclibc Saul Wold
2012-01-10 11:01 ` Phil Blundell
2012-01-10 17:58 ` Richard Purdie [this message]
2012-01-10 18:10 ` Khem Raj
2012-01-10 5:54 ` [CONSOLIDATED PULL 15/22] uclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro feature Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 16/22] findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 17/22] util-linux: Enable fallocate and use CACHED_CONFIGUREVARS Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 18/22] util-linux: .pc files should go in the -dev packages for subpackages Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 19/22] kexec-tools: split packaging of kexec and kdump Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 20/22] task-core-tools: adapt to kexec-tools package split Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 21/22] distro_tracking: Update Manual Checks Saul Wold
2012-01-10 5:54 ` [CONSOLIDATED PULL 22/22] distro_tracking_fields.inc: upgrade tcf-agent Saul Wold
2012-01-10 17:57 ` [CONSOLIDATED PULL 00/22] Patches and Updates for M2 Richard Purdie
2012-01-10 18:17 ` Phil Blundell
2012-01-10 18:53 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326218304.23315.8.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox