mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build-userland-in-tree: default to host arch
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import platform
|
||||
import subprocess
|
||||
|
||||
import lkmc.import_path
|
||||
@@ -14,6 +15,7 @@ class Main(build_userland.Main):
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#userland-setup-getting-started-natively
|
||||
''',
|
||||
defaults={
|
||||
'archs': [platform.processor()],
|
||||
'gcc_which': 'host',
|
||||
'in_tree': True,
|
||||
'targets': ['.'],
|
||||
|
||||
Reference in New Issue
Block a user