diff options
Diffstat (limited to 'poky/scripts/wic')
-rwxr-xr-x | poky/scripts/wic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/poky/scripts/wic b/poky/scripts/wic index 4bcff8f79c..aee63a45aa 100755 --- a/poky/scripts/wic +++ b/poky/scripts/wic @@ -159,6 +159,9 @@ def wic_create_subcommand(options, usage_str): "(Use -e/--image-name to specify it)") native_sysroot = options.native_sysroot + if options.kernel_dir: + kernel_dir = options.kernel_dir + if not options.vars_dir and (not native_sysroot or not os.path.isdir(native_sysroot)): logger.info("Building wic-tools...\n") subprocess.check_call(["bitbake", "wic-tools"]) |