All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/7] tclibc-eglibc.inc: Define USE_NLS
Date: Tue, 26 Jun 2012 23:09:46 -0700	[thread overview]
Message-ID: <3ef3573dcf3deb300a12a1830ccc768c999e61fe.1340777116.git.raj.khem@gmail.com> (raw)
In-Reply-To: <55a411d66293b6d2196e98376f0fb9e4487b4bdf.1340777116.git.raj.khem@gmail.com>
In-Reply-To: <cover.1340777115.git.raj.khem@gmail.com>

USE_NLS is generally defined for uclibc based system builds
and generally its defined to 'no' there. However this variable
does not exist at all for eglibc/glibc distributions. This
patch adds a weak definition to 'yes' on eglibc based system
builds. This will ease out some of the cryptic contructs we
have to define certain options based on USE_NLS and also
checking got uclibc at the same time to avoid pythong exceptions
when its not defined.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/tclibc-eglibc.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc
index 4f5607f..e2ca4e8 100644
--- a/meta/conf/distro/include/tclibc-eglibc.inc
+++ b/meta/conf/distro/include/tclibc-eglibc.inc
@@ -32,6 +32,8 @@ LIBC_LOCALE_DEPENDENCIES = "\
 	eglibc-gconv-iso8859-1 \
 	eglibc-gconv-iso8859-15"
 
+USE_NLS ?= "yes"
+
 def get_libc_locales_dependencies(d):
     if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :
         return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''
-- 
1.7.9.5




  parent reply	other threads:[~2012-06-27  6:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  6:07 [PATCH 0/7] kconfig-frontends and uclibc updated for systemd Khem Raj
2012-06-27  6:09 ` [PATCH 1/7] kconfig-frontends: New recipe Khem Raj
2012-06-27  6:09 ` Khem Raj [this message]
2012-06-27 12:37   ` [PATCH 2/7] tclibc-eglibc.inc: Define USE_NLS Richard Purdie
2012-06-28 17:09     ` Khem Raj
2012-06-27  6:09 ` [PATCH 3/7] uclibc: Separate the bits between uclibc and uclibc-initial Khem Raj
2012-06-27  6:09 ` [PATCH 4/7] uclibc-git: Update for building systemd Khem Raj
2012-06-27  6:09 ` [PATCH 5/7] uclibc-0.9.33: add posix_fallocate implementation Khem Raj
2012-06-27  6:09 ` [PATCH 6/7] bison: link in librt on uclibc Khem Raj
2012-06-27  6:09 ` [PATCH 7/7] glib-2.0: Add missing dependency on virtual/libiconv Khem Raj

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=3ef3573dcf3deb300a12a1830ccc768c999e61fe.1340777116.git.raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.