mtops.h is perfect now

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent 1cc3ee8657
commit 8618025682
21 changed files with 313 additions and 202 deletions

View File

@@ -70,6 +70,7 @@ Extra arguments to be passed to the Buildroot make,
usually extra Buildroot targets.
'''
)
self._add_argument('--force-rebuild')
def build(self):
build_dir = self.get_build_dir()
@@ -147,6 +148,8 @@ usually extra Buildroot targets.
cwd=self.env['buildroot_source_dir'],
)
self.make_build_dirs()
if self.env['force_rebuild']:
extra_make_args.extend(['-B', LF])
if not self.env['no_all']:
extra_make_args.extend(['all', LF])
self.sh.run_cmd(