X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fcompatibility.py;h=bf2f635a78c217bec84ecd0867ae73fb85aaaade;hb=56f2c002c50338f23f1b969ba51a43b0eb24f3da;hp=93d902ba4104bd900cf44ef85ad9911b9f5c6e31;hpb=b0882263114dd5cc268ce701d5e48cc94ee9bf79;p=bertos.git diff --git a/wizard/compatibility.py b/wizard/compatibility.py index 93d902ba..bf2f635a 100644 --- a/wizard/compatibility.py +++ b/wizard/compatibility.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # encoding: utf-8 # -# This file is part of slimqc. +# This file is part of BeRTOS. # # Bertos is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -97,5 +97,10 @@ def updateProject(project_data): bertos_utils.mkGenerator = _mkGenerator bertos_utils.userMkGenerator = _userMkGenerator bertos_utils.makefileGenerator = _makefileGenerator + if wizard_version < 4: + # Use default PROJECT_SRC_PATH_FROM_MAKEFILE and + # PROJECT_HW_PATH_FROM_MAKEFILE + project_data["PROJECT_SRC_PATH_FROM_MAKEFILE"] = project_data["PROJECT_SRC_PATH"] + project_data["PROJECT_HW_PATH_FROM_MAKEFILE"] = project_data["PROJECT_HW_PATH"] return project_data