diff --git a/scripts/zephyr_module.py b/scripts/zephyr_module.py index be4b176e364..71e2b964dfe 100755 --- a/scripts/zephyr_module.py +++ b/scripts/zephyr_module.py @@ -197,6 +197,8 @@ def main(): # workspace. Such setup is allowed, as west may be installed # but the project is not required to use west. projects = [] + else: + projects = args.modules.copy() projects += args.extra_modules extra_modules = set(args.extra_modules)