[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/12] roms/edk2-build.py: Add --module support
From: |
Sunil V L |
Subject: |
[PATCH 01/12] roms/edk2-build.py: Add --module support |
Date: |
Fri, 15 Mar 2024 18:35:08 +0530 |
UefiTestToolsPkg which should use edk2-build.py needs --module parameter
support. Add this optional parameter handling.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
---
roms/edk2-build.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/roms/edk2-build.py b/roms/edk2-build.py
index e564765aaa..3bfe200929 100755
--- a/roms/edk2-build.py
+++ b/roms/edk2-build.py
@@ -192,6 +192,9 @@ def build_one(cfg, build, jobs = None, silent = False,
nologs = False):
cmdline += [ '-n', jobs ]
for arch in b['arch'].split():
cmdline += [ '-a', arch ]
+ if 'module' in b:
+ for module in b['module'].split():
+ cmdline += [ '-m', module ]
if 'opts' in b:
for name in b['opts'].split():
section = 'opts.' + name
--
2.40.1