Skip to content

Commit 3af12a1

Browse files
committed
contest: hw: hwksft: support multiple configs
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 32c4651 commit 3af12a1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

contest/hw/lib/deployer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ def build_kernel(config, tree_path):
6161
# Apply base defconfig
6262
_run(['make', '-C', tree_path, 'defconfig'])
6363

64-
# Apply extra kconfig for the NIC driver
64+
# Apply extra kconfig fragments (space-separated list)
6565
extra_kconfig = config.get('build', 'extra_kconfig', fallback=None)
6666
if extra_kconfig:
67-
_run(['scripts/kconfig/merge_config.sh', '-m', '.config', extra_kconfig],
67+
configs = extra_kconfig.split()
68+
_run(['scripts/kconfig/merge_config.sh', '-m', '.config'] + configs,
6869
cwd=tree_path)
6970
_run(['make', '-C', tree_path, 'olddefconfig'])
7071

0 commit comments

Comments
 (0)