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
1 changed files with 2 additions and 0 deletions
|
@ -197,6 +197,8 @@ def main():
|
||||||
# workspace. Such setup is allowed, as west may be installed
|
# workspace. Such setup is allowed, as west may be installed
|
||||||
# but the project is not required to use west.
|
# but the project is not required to use west.
|
||||||
projects = []
|
projects = []
|
||||||
|
else:
|
||||||
|
projects = args.modules.copy()
|
||||||
|
|
||||||
projects += args.extra_modules
|
projects += args.extra_modules
|
||||||
extra_modules = set(args.extra_modules)
|
extra_modules = set(args.extra_modules)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue