diff options
author | Koen Kooi <koen@openembedded.org> | 2007-04-26 10:57:45 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-04-26 10:57:45 +0000 |
commit | e085d81e48df8bdeec11ff552245a40dfa008889 (patch) | |
tree | c654ed96cab2588762779eb5e26ca0a3c0cf6de6 /classes/base.bbclass | |
parent | 089b5378d7a49b5a798ea6d35d8145b65ded4305 (diff) |
base.bbclass: add back a snipped of obsolete code to fix SRCDATES problems, seems to fix #2133
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 4 |
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: |