mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
Update to latest bitbake
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -29,7 +29,7 @@ Based on functions from the base bb module, Copyright 2003 Holger Schurig
|
||||
"""
|
||||
|
||||
import copy, os, re, sys, time, types
|
||||
from bb import note, debug, fatal
|
||||
from bb import note, debug, fatal, utils
|
||||
|
||||
try:
|
||||
import cPickle as pickle
|
||||
@@ -287,8 +287,8 @@ class DataSmartPackage(DataSmart):
|
||||
self.unpickle_prep()
|
||||
funcstr = self.getVar('__functions__', 0)
|
||||
if funcstr:
|
||||
comp = compile(funcstr, "<pickled>", "exec")
|
||||
exec comp in __builtins__
|
||||
comp = utils.better_compile(funcstr, "<pickled>", self.bbfile)
|
||||
utils.better_exec(comp, __builtins__, funcstr, self.bbfile)
|
||||
|
||||
def linkDataSet(self):
|
||||
if not self.parent == None:
|
||||
|
||||
Reference in New Issue
Block a user