(make_arg=None, **kwargs)
| 32 | |
| 33 | |
| 34 | def buildroot_make(make_arg=None, **kwargs): |
| 35 | make_cmd = ['make', f"-j{os.cpu_count()}"] |
| 36 | if make_arg: |
| 37 | make_cmd.append(make_arg) |
| 38 | subprocess.run(make_cmd, **kwargs, check=True, cwd=SRC_FOLDER) |
| 39 | |
| 40 | |
| 41 | def build_image(architecture, edit_config, savedefconfig): |