mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 05:24:25 +01:00
build-baremetal and build-crosstool-ng: make -A work, move arch check to common
This commit is contained in:
@@ -10,10 +10,11 @@ class Main(common.BuildCliFunction):
|
||||
super().__init__(
|
||||
description='''\
|
||||
Build crosstool-NG with Newlib for bare metal compilation
|
||||
''')
|
||||
''',
|
||||
supported_archs=common.consts['crosstool_ng_supported_archs']
|
||||
)
|
||||
|
||||
def build(self):
|
||||
self.assert_crosstool_ng_supports_arch(self.env['arch'])
|
||||
build_dir = self.get_build_dir()
|
||||
defconfig_dest = os.path.join(self.env['crosstool_ng_util_dir'], 'defconfig')
|
||||
os.makedirs(self.env['crosstool_ng_util_dir'], exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user