summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake14
1 files changed, 4 insertions, 10 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 001f229331..70a862a815 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -27,7 +27,7 @@ sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'l
27import bb 27import bb
28from bb import cooker 28from bb import cooker
29 29
30__version__ = "1.7.4" 30__version__ = "1.8.1"
31 31
32#============================================================================# 32#============================================================================#
33# BBOptions 33# BBOptions
@@ -109,15 +109,9 @@ Default BBFILES are the .bb files in the current directory.""" )
109 configuration.pkgs_to_build = [] 109 configuration.pkgs_to_build = []
110 configuration.pkgs_to_build.extend(args[1:]) 110 configuration.pkgs_to_build.extend(args[1:])
111 111
112 bb.cooker.BBCooker().cook(configuration) 112 cooker = bb.cooker.BBCooker(configuration)
113 cooker.cook()
114
113 115
114if __name__ == "__main__": 116if __name__ == "__main__":
115 main() 117 main()
116 sys.exit(0)
117 import profile
118 profile.run('main()', "profile.log")
119 import pstats
120 p = pstats.Stats('profile.log')
121 p.sort_stats('time')
122 p.print_stats()
123 p.print_callers()