Files
linux-kernel-module-cheat/build-userland-in-tree
Ciro Santilli 六四事件 法轮功 3cc1b793cb Get rid of imp, started giving deprecation warning every time in Python 3.7 in Ubuntu 19.04.
Please python stop torturing me with refactors.

Make ./run -u blow up if executable not found, otherwise I go crazy.

Get ./test-gdb back to life after the ./run relative path refactor, forgot to test this.
2019-05-11 00:00:01 +00:00

25 lines
548 B
Python
Executable File

#!/usr/bin/env python3
import os
import subprocess
import common
build_userland = common.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()