Skip to content
Snippets Groups Projects
Commit 569e9a29 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

winmake: clean build output for contrib if dependencies rebuild

Change-Id: I3fbfbe055255948e003e69e76cdc34f483322ccc
parent 2129a0d4
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,9 @@ def make(pkg_info, force, sdk_version, toolset, isPlugin):
log.debug('Forcing fetch/patch/build for ' + pkg_name)
should_fetch = not pkg_up_to_date
pkg_build_path = contrib_build_dir + '\\' + pkg_name
should_fetch &= not os.path.exists(pkg_build_path)
if os.path.exists(pkg_build_path):
log.warning('Cleaning build for ' + pkg_name)
getSHrunner().exec_batch('rmdir', ['/s', '/q', pkg_build_path])
if not pkg_up_to_date or force:
if not force and not current_version is None:
log.warning(pkg_name + ' is not up to date')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment