diff options
author | Simon Warta <[email protected]> | 2017-04-05 17:38:55 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2017-04-07 09:10:14 +0200 |
commit | 9b7bb1370c77a7e912544a00e93b60fd30b89c03 (patch) | |
tree | afe2ea485e5879d214ff103d44b0b8dfddc4e2be /configure.py | |
parent | 4857ab9f3ffe5578c047f2a99baa2b9fbeca9af5 (diff) |
Move external dependency logging into choose_modules_to_use()
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.py b/configure.py index 92b891a82..7c8069ad8 100755 --- a/configure.py +++ b/configure.py @@ -2087,6 +2087,8 @@ def choose_modules_to_use(modules, module_policy, archinfo, ccinfo, options): logging.info('%s: %s' % (mod, modules[mod].comment)) if modules[mod].warning: logging.warning('%s: %s' % (mod, modules[mod].warning)) + if modules[mod].load_on == 'vendor': + logging.info('Enabling use of external dependency %s' % mod) logging.info('Loading modules: %s', ' '.join(sorted_modules_to_load)) @@ -2567,10 +2569,6 @@ def main(argv=None): loaded_mods = choose_modules_to_use(modules, module_policy, arch, cc, options) - for m in loaded_mods: - if modules[m].load_on == 'vendor': - logging.info('Enabling use of external dependency %s' % (m)) - using_mods = [modules[m] for m in loaded_mods] build_config = BuildPaths(options, using_mods) |