summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-26 13:46:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-26 16:02:58 +0000
commitb9873588696507dfb6aade6821f6f75cb9a19e0a (patch)
tree4214f948c194c4e3be8bd5028ddc71ea6c5ef0f2 /bin
parent2a80735183e8faa110b4c6d8d85c4707f28e03a1 (diff)
downloadbitbake-contrib-b9873588696507dfb6aade6821f6f75cb9a19e0a.tar.gz
bitbake: Force -S option to take a parameter
There is no easy way to make this change. We really need parameters for the -S (dump signatures) handling code. Such a parameter can then be used within the codebase to handle the signatures in different ways. For now, "none" is the recommended default and "printdiff" will execute the new (and more expensive) comparison algorithms. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bitbake4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 5c0b2d4d2..b173f16ce 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -139,8 +139,8 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
parser.add_option("-n", "--dry-run", help = "Don't execute, just go through the motions.",
action = "store_true", dest = "dry_run", default = False)
- parser.add_option("-S", "--dump-signatures", help = "Don't execute, just dump out the signature construction information.",
- action = "store_true", dest = "dump_signatures", default = False)
+ parser.add_option("-S", "--dump-signatures", help = "Dump out the signature construction information, with no task execution. Parameters are passed to the signature handling code, use 'none' if no specific handler is required.",
+ action = "append", dest = "dump_signatures", default = [])
parser.add_option("-p", "--parse-only", help = "Quit after parsing the BB recipes.",
action = "store_true", dest = "parse_only", default = False)