diff options
author | Chris Larson <clarson@kergoth.com> | 2005-01-27 22:07:28 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2005-01-27 22:07:28 +0000 |
commit | c37371fecffccaf855cb73c679319750640e30db (patch) | |
tree | 90d7094f802513d75df90f6c5f96636e72666721 /classes/base.bbclass | |
parent | 75938adea99b02c39733a1683492f118b5a9588f (diff) |
Add handling of USE_NLS_packagename, done the same way as CVSDATE.
BKrev: 41f96620LvvAATva0D1dW9Br_EB-mg
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
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) |