common: create a Component class to factor out builds

Not yet finished factoring, but half way there, do for all build-
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-18 00:00:00 +00:00
parent cb3d8929ba
commit 2a77df690c
10 changed files with 650 additions and 595 deletions

View File

@@ -2,7 +2,6 @@
import multiprocessing
import os
import shutil
import sys
import time
@@ -43,7 +42,7 @@ def main(args, extra_args=None):
) == 0
# Build the toolchain.
shutil.copy2(
common.cp(
os.path.join(common.root_dir, 'crosstool_ng_config', args.arch),
defconfig_dest
)