diff options
-rwxr-xr-x | bitbake/bin/bitbake-getvar | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-getvar b/bitbake/bin/bitbake-getvar index 4a9eb4f311..13a317e1d6 100755 --- a/bitbake/bin/bitbake-getvar +++ b/bitbake/bin/bitbake-getvar | |||
@@ -36,9 +36,10 @@ if __name__ == "__main__": | |||
36 | print("--flag only makes sense with --value") | 36 | print("--flag only makes sense with --value") |
37 | sys.exit(1) | 37 | sys.exit(1) |
38 | 38 | ||
39 | with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not args.quiet) as tinfoil: | 39 | quiet = args.quiet |
40 | with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil: | ||
40 | if args.recipe: | 41 | if args.recipe: |
41 | tinfoil.prepare(quiet=2) | 42 | tinfoil.prepare(quiet=3 if quiet else 2) |
42 | d = tinfoil.parse_recipe(args.recipe) | 43 | d = tinfoil.parse_recipe(args.recipe) |
43 | else: | 44 | else: |
44 | tinfoil.prepare(quiet=2, config_only=True) | 45 | tinfoil.prepare(quiet=2, config_only=True) |