mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Use import thread_pool instead from, from is evil. Fix poweroff.out path for ./trace-boot.
25 lines
568 B
Python
Executable File
25 lines
568 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os
|
|
import subprocess
|
|
|
|
import lkmc.import_path
|
|
|
|
build_userland = lkmc.import_path.import_path_relative_root('build-userland')
|
|
|
|
class Main(build_userland.Main):
|
|
def __init__(self):
|
|
super().__init__(
|
|
description='''\
|
|
https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively
|
|
''',
|
|
defaults={
|
|
'gcc_which': 'host',
|
|
'in_tree': True,
|
|
'targets': ['.'],
|
|
}
|
|
)
|
|
|
|
if __name__ == '__main__':
|
|
Main().cli()
|