[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/7] minikconf: Pass variables for modules
From: |
Christophe de Dinechin |
Subject: |
[PATCH 3/7] minikconf: Pass variables for modules |
Date: |
Thu, 23 Jul 2020 19:46:11 +0200 |
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
---
scripts/minikconf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/minikconf.py b/scripts/minikconf.py
index bcd91015d3..d60add97f6 100755
--- a/scripts/minikconf.py
+++ b/scripts/minikconf.py
@@ -690,10 +690,10 @@ if __name__ == '__main__':
parser = KconfigParser(data)
external_vars = set()
for arg in argv[3:]:
- m = re.match(r'^(CONFIG_[A-Z0-9_]+)=([yn]?)$', arg)
+ m = re.match(r'^(CONFIG_[A-Z0-9_]+)=([ymn]?)$', arg)
if m is not None:
name, value = m.groups()
- parser.do_assignment(name, value == 'y')
+ parser.do_assignment(name, value == 'y' or value == 'm')
external_vars.add(name[7:])
else:
fp = open(arg, 'rt', encoding='utf-8')
--
2.26.2
- [PATCH 0/7] Make SPICE a load module, Christophe de Dinechin, 2020/07/23
- [PATCH 1/7] spice: simplify chardev setup, Christophe de Dinechin, 2020/07/23
- [PATCH 2/7] build: fix device module builds, Christophe de Dinechin, 2020/07/23
- [PATCH 3/7] minikconf: Pass variables for modules,
Christophe de Dinechin <=
- [PATCH 4/7] spice: Make spice a module configuration, Christophe de Dinechin, 2020/07/23
- [PATCH 5/7] spice: Move all the spice-related code in spice-app.so, Christophe de Dinechin, 2020/07/23
- [PATCH 7/7] spice: Call qemu spice functions indirectly, Christophe de Dinechin, 2020/07/23
- [PATCH 6/7] build: Add SPICE_CFLAGS and SPICE_LIBS to relevant files, Christophe de Dinechin, 2020/07/23