From 02dea9279bc9cfb4a2944cfbb67a091f6dda97fe Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 20 Jul 2020 14:09:12 +0200 Subject: [PATCH] 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 ef3c5e551676278ccc1f42ecb572838144c5e33a. Fixes #26948. Signed-off-by: Carles Cufi --- scripts/zephyr_module.py | 2 ++ 1 file changed, 2 insertions(+) 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)