summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 36ccbd6438..9752a1116c 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -807,6 +807,10 @@ def base_after_parse(d):
pn = bb.data.getVar('PN', d, 1)
+ # OBSOLETE in bitbake 1.7.4
+ srcdate = bb.data.getVar('SRCDATE_%s' % pn, d, 1)
+ if srcdate != None:
+ bb.data.setVar('SRCDATE', srcdate, d)
use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
if use_nls != None: