mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
run kind of runs
This commit is contained in:
@@ -4,9 +4,9 @@ import os
|
||||
|
||||
import common
|
||||
|
||||
class CrosstoolNgComponent(common.Component):
|
||||
class CrosstoolNgComponent(self.Component):
|
||||
def do_build(self, args):
|
||||
common.assert_crosstool_ng_supports_arch(kwargs['arch'])
|
||||
self.assert_crosstool_ng_supports_arch(kwargs['arch'])
|
||||
build_dir = self.get_build_dir(args)
|
||||
defconfig_dest = os.path.join(kwargs['crosstool_ng_util_dir'], 'defconfig')
|
||||
os.makedirs(kwargs['crosstool_ng_util_dir'], exist_ok=True)
|
||||
@@ -37,7 +37,7 @@ class CrosstoolNgComponent(common.Component):
|
||||
os.path.join(kwargs['root_dir'], 'crosstool_ng_config', kwargs['arch']),
|
||||
defconfig_dest
|
||||
)
|
||||
common.write_configs(
|
||||
self.write_configs(
|
||||
kwargs['crosstool_ng_defconfig'],
|
||||
[
|
||||
'CT_PREFIX_DIR="{}"'.format(kwargs['crosstool_ng_install_dir']),
|
||||
|
||||
Reference in New Issue
Block a user