From ade351e2f4c3693d4c2ecf3891899c2dcd082491 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 1 Jan 2009 14:43:54 +0000 Subject: bitbake: Add in code to support the BBCLASSEXTEND variable. Virtual native/sdk recipes then become possible --- bitbake-dev/lib/bb/cooker.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bitbake-dev/lib/bb') diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index 06f3395d7a..d19cef328d 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py @@ -628,13 +628,10 @@ class BBCooker: fn = self.matchFile(buildfile) self.buildSetVars() - # Load data into the cache for fn + # Load data into the cache for fn and parse the loaded cache data self.bb_cache = bb.cache.init(self) - self.bb_cache.loadData(fn, self.configuration.data) - - # Parse the loaded cache data self.status = bb.cache.CacheData() - self.bb_cache.handle_data(fn, self.status) + self.bb_cache.loadData(fn, self.configuration.data, self.status) # Tweak some variables item = self.bb_cache.getVar('PN', fn, True) -- cgit v1.2.3