mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
common: create a Component class to factor out builds
Not yet finished factoring, but half way there, do for all build-
This commit is contained in:
4
build
4
build
@@ -36,7 +36,7 @@ name_to_component_map = {
|
||||
'baremetal': BaremetalComponent(False),
|
||||
'buildroot': Component(
|
||||
True,
|
||||
lambda arch, dry_run: run_cmd(['build-buildroot', '--arch', arch, '--gem5'], dry_run=dry_run),
|
||||
lambda arch, dry_run: run_cmd(['build-buildroot', '--arch', arch], dry_run=dry_run),
|
||||
),
|
||||
'gem5': Component(
|
||||
False,
|
||||
@@ -51,7 +51,7 @@ name_to_component_map = {
|
||||
lambda arch, dry_run: run_cmd(['build-modules', '--arch', arch], dry_run=dry_run)
|
||||
),
|
||||
'm5': Component(
|
||||
True,
|
||||
False,
|
||||
lambda arch, dry_run: run_cmd(['build-m5', '--arch', arch], dry_run=dry_run)
|
||||
),
|
||||
'qemu': Component(
|
||||
|
||||
Reference in New Issue
Block a user