From 0496564b64798760116c55be27b9540c50ef4233 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 23 Jun 2011 11:32:19 +0100 Subject: 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_ is also removed since this can be done in the form USE_NLS_pn- using overrides these days. (From OE-Core rev: 2e3727b05ae58aaf1eed88967c13cae085e7a702) Signed-off-by: Richard Purdie Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meta/classes/base.bbclass') 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 () { bb.note("SKIPPING %s because it's %s" % (pn, this_license)) raise bb.parse.SkipPackage("incompatible with license %s" % this_license) - use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) - if use_nls != None: - bb.data.setVar('USE_NLS', use_nls, d) - # Git packages should DEPEND on git-native srcuri = bb.data.getVar('SRC_URI', d, 1) if "git://" in srcuri: -- cgit v1.2.3-54-g00ecf