summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:32:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-28 13:55:40 +0100
commit0496564b64798760116c55be27b9540c50ef4233 (patch)
tree84eb575f2df3d6d53881287dbe1f306e9213f8a5 /meta/classes
parent1d2f3957b5c1e90b0e57ddb2488594e2db65e320 (diff)
downloadpoky-0496564b64798760116c55be27b9540c50ef4233.tar.gz
base/glib-2.0: Simplify USE_NLS handling for glib-2.0
Currently the only way to get anything to build is to set USE_NLS="yes" for glib-2.0. We might as well do this in the recipe by default for now and simpllify the code. The magic handling of USE_NLS_<recipename> is also removed since this can be done in the form USE_NLS_pn-<recipename> using overrides these days. (From OE-Core rev: 2e3727b05ae58aaf1eed88967c13cae085e7a702) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 0bea639a95..575352d3f0 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -303,10 +303,6 @@ python () {
303 bb.note("SKIPPING %s because it's %s" % (pn, this_license)) 303 bb.note("SKIPPING %s because it's %s" % (pn, this_license))
304 raise bb.parse.SkipPackage("incompatible with license %s" % this_license) 304 raise bb.parse.SkipPackage("incompatible with license %s" % this_license)
305 305
306 use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
307 if use_nls != None:
308 bb.data.setVar('USE_NLS', use_nls, d)
309
310 # Git packages should DEPEND on git-native 306 # Git packages should DEPEND on git-native
311 srcuri = bb.data.getVar('SRC_URI', d, 1) 307 srcuri = bb.data.getVar('SRC_URI', d, 1)
312 if "git://" in srcuri: 308 if "git://" in srcuri: