bitbake/bin/bitbake:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 28 May 2005 19:08:00 +0000 (19:08 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 28 May 2005 19:08:00 +0000 (19:08 +0000)
update_data() of make.cfg after we've parsed the
each and every bitbake file.
Call me paranoid but this way we make sure that changes
made in the bb files are actually taken...

bin/bitbake

index 4adb6d7..482b71f 100755 (executable)
@@ -637,8 +637,6 @@ class BBCooker:
 
         self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
 
-        bb.data.update_data( make.cfg )
-
         if not bb.data.getVar("BUILDNAME", make.cfg):
             bb.data.setVar("BUILDNAME", os.popen('date +%Y%m%d%H%M').readline().strip(), make.cfg)
 
@@ -696,6 +694,7 @@ class BBCooker:
                 print "Requested parsing .bb files only.  Exiting."
                 return
 
+            bb.data.update_data( make.cfg ) 
             self.buildDepgraph()
 
             if make.options.show_versions: