From c37371fecffccaf855cb73c679319750640e30db Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 27 Jan 2005 22:07:28 +0000 Subject: Add handling of USE_NLS_packagename, done the same way as CVSDATE. BKrev: 41f96620LvvAATva0D1dW9Br_EB-mg --- classes/base.bbclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classes/base.bbclass') diff --git a/classes/base.bbclass b/classes/base.bbclass index 6686d2eab0..a2ed7a76be 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -681,10 +681,15 @@ python __anonymous () { raise bb.parse.SkipPackage("incompatible with host %s" % this_host) pn = bb.data.getVar('PN', d, 1) + cvsdate = bb.data.getVar('CVSDATE_%s' % pn, d, 1) if cvsdate != None: bb.data.setVar('CVSDATE', cvsdate, d) + use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1) + if use_nls != None: + bb.data.setVar('USE_NLS', use_nls, d) + try: bb.build.exec_func('read_manifest', d) bb.build.exec_func('parse_manifest', d) -- cgit v1.2.3