From 041a0e8dff1daf333613f3dd06a9bfc218213462 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 21 Jun 2012 10:28:54 +0800 Subject: bitbake: bitbake/cooker: Print which pkgs would be built in -g output This is for giving the user a clear list to show which pkg would be built, we have the "bitbake -g", but it is not easy to read for people, it is for "dot". Improve the "bitbake -g" to also save a pn-buildlist: $ bitbake -g core-image-sato ... NOTE: PN build list saved to 'pn-buildlist' [snip] The contents of pn-buildlist: busybox shadow-native pth sysfsutils qemu-helper-native curl-native ncurses-native gdbm xserver-xorg linux-libc-headers [snip] [YOCTO #2404] (Bitbake rev: 18aff925aece774d0172894e25584353519ca03f) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index e55a538057..1cee33272c 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -148,7 +148,7 @@ Default BBFILES are the .bb files in the current directory.""") parser.add_option("-e", "--environment", help = "show the global or per-package environment (this is what used to be bbread)", action = "store_true", dest = "show_environment", default = False) - parser.add_option("-g", "--graphviz", help = "emit the dependency trees of the specified packages in the dot syntax", + parser.add_option("-g", "--graphviz", help = "emit the dependency trees of the specified packages in the dot syntax, and the pn-buildlist to show the build list", action = "store_true", dest = "dot_graph", default = False) parser.add_option("-I", "--ignore-deps", help = """Assume these dependencies don't exist and are already provided (equivalent to ASSUME_PROVIDED). Useful to make dependency graphs more appealing""", -- cgit v1.2.3-54-g00ecf