mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
fix most of GDB and remove most kernel_modules- references
This commit is contained in:
@@ -82,7 +82,6 @@ class ModulesComponent(common.Component):
|
||||
linux_dir = os.path.join('/lib', 'modules', platform.uname().release, 'build')
|
||||
else:
|
||||
linux_dir = common.linux_build_dir
|
||||
build_subdir = os.path.join(build_dir, common.kernel_modules_subdir)
|
||||
common.run_cmd(
|
||||
(
|
||||
[
|
||||
@@ -92,7 +91,7 @@ class ModulesComponent(common.Component):
|
||||
'CC={}'.format(cc),
|
||||
'CROSS_COMPILE={}'.format(prefix),
|
||||
'LINUX_DIR={}'.format(linux_dir),
|
||||
'M={}'.format(build_subdir),
|
||||
'M={}'.format(common.kernel_modules_build_subdir),
|
||||
'OBJECT_FILES={}'.format(' '.join(object_files)),
|
||||
] +
|
||||
verbose
|
||||
|
||||
Reference in New Issue
Block a user