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