scripts: modules: Fix initialization of variable
The projects variable needs to be initialized with the list of modules
provided via cmd-line arguments.
This is a regression introduced by
ef3c5e5516.
Fixes #26948.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
dd49fb4da4
commit
02dea9279b
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user