From e085d81e48df8bdeec11ff552245a40dfa008889 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 26 Apr 2007 10:57:45 +0000 Subject: base.bbclass: add back a snipped of obsolete code to fix SRCDATES problems, seems to fix #2133 --- classes/base.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'classes/base.bbclass') 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: -- cgit v1.2.3