From: duplo Date: Tue, 3 Feb 2009 18:04:39 +0000 (+0000) Subject: Change the target mk file with the name of the project X-Git-Tag: 2.1.0~428 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f14cf07b26df7c732766cf65a42a2b593575018d;p=bertos.git Change the target mk file with the name of the project git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2254 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 9cd32115..a687bfe0 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -63,7 +63,7 @@ def createBertosProject(projectInfos): ## Destinatio mk file makefile = open("mktemplates/template.mk", "r").read() makefile = mkGenerator(projectInfos, makefile) - open(prjdir + "/" + "project.mk", "w").write(makefile) + open(prjdir + "/" + os.path.basename(prjdir) + ".mk", "w").write(makefile) def mkGenerator(projectInfos, makefile): """