mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
gdb: create some automated tests with pytest
gem5 baremetal: use m5exit m5op in exit() so as to not force users to apply a patch for almost all examples
This commit is contained in:
14
build
14
build
@@ -22,15 +22,15 @@ class Component:
|
||||
self.dependencies = []
|
||||
else:
|
||||
self.dependencies = dependencies
|
||||
def build(self, arch, dry_run):
|
||||
def build(self, arch):
|
||||
if self.build_callback is not None:
|
||||
self.build_callback(arch)
|
||||
|
||||
def build_baremetal(arch, dry_run):
|
||||
common.run_cmd(['build-crosstool-ng'], arch)
|
||||
common.run_cmd(['build-baremetal'], arch)
|
||||
common.run_cmd(['build-baremetal', '--gem5'], arch)
|
||||
common.run_cmd(['build-baremetal', '--gem5', '--machine', 'RealViewPBX'], arch)
|
||||
def build_baremetal(arch):
|
||||
run_cmd(['build-crosstool-ng'], arch)
|
||||
run_cmd(['build-baremetal'], arch)
|
||||
run_cmd(['build-baremetal', '--gem5'], arch)
|
||||
run_cmd(['build-baremetal', '--gem5', '--machine', 'RealViewPBX'], arch)
|
||||
|
||||
def run_cmd(cmd, arch):
|
||||
global args
|
||||
@@ -220,4 +220,4 @@ for component_name in components:
|
||||
# Do the build.
|
||||
for arch in archs:
|
||||
for component in selected_components:
|
||||
component.build(arch, args.dry_run)
|
||||
component.build(arch)
|
||||
|
||||
Reference in New Issue
Block a user