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

@@ -81,6 +81,7 @@ Run `make modules_install` after `make`.
metavar='extra-make-args',
nargs='*'
)
self._add_argument('--force-rebuild')
def build(self):
build_dir = self.get_build_dir()
@@ -108,6 +109,8 @@ Run `make modules_install` after `make`.
'CC={}'.format(cc), LF,
'O={}'.format(build_dir), LF,
] + verbose
if self.env['force_rebuild']:
common_make_args.extend(['-B', LF])
if self.env['configure']:
if self.env['custom_config_target']:
base_config_given = True