diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake | 14 |
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 | |||
27 | import bb | 27 | import bb |
28 | from bb import cooker | 28 | from 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 | ||
114 | if __name__ == "__main__": | 116 | if __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() | ||