git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75938ad
)
Add handling of USE_NLS_packagename, done the same way as CVSDATE.
author
Chris Larson
<clarson@kergoth.com>
Thu, 27 Jan 2005 22:07:28 +0000
(22:07 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Thu, 27 Jan 2005 22:07:28 +0000
(22:07 +0000)
BKrev: 41f96620LvvAATva0D1dW9Br_EB-mg
classes/base.bbclass
patch
|
blob
|
history
diff --git
a/classes/base.bbclass
b/classes/base.bbclass
index
6686d2e
..
a2ed7a7
100644
(file)
--- 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)