diff options
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic index 5818e2da2e3..25b0d676fdb 100755 --- a/scripts/wic +++ b/scripts/wic @@ -114,6 +114,9 @@ def wic_create_subcommand(args, usage_str): parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"), dest='compressor', help="compress image with specified compressor") + parser.add_option("-v", "--vars", dest='vars_dir', + help="directory with <image>.env files that store " + "bitbake variables") parser.add_option("-D", "--debug", dest="debug", action="store_true", default=False, help="output debug information") @@ -146,6 +149,9 @@ def wic_create_subcommand(args, usage_str): else: options.build_check = False + if options.vars_dir: + BB_VARS.vars_dir = options.vars_dir + if options.build_check: print "Checking basic build environment..." if not engine.verify_build_env(): |