Make --host work for ./build-userland, ./build-dhrystone, etc. in addition to just ./build-modules

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-27 00:00:01 +00:00
parent c3f2045e1f
commit 62930b6acf
3 changed files with 26 additions and 12 deletions

View File

@@ -23,14 +23,6 @@ See also: https://cirosantilli.com/linux-kernel-module-cheat#host
default='',
help='''
Pass custom options to make.
''',
)
self.add_argument(
'--host',
default=False,
help='''\
Build the Linux kernel modules against the host kernel.
Place the modules on a separate magic directory from non --host builds.
''',
)
self._add_argument('--force-rebuild')