From: duplo Date: Fri, 10 Apr 2009 13:41:55 +0000 (+0000) Subject: Remove CROSS from the mk template X-Git-Tag: 2.1.0~200 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=842d775fbc48bf6a66941d66aa93e9912bed2add;p=bertos.git Remove CROSS from the mk template git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2482 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index af65478a..5666e558 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -91,7 +91,6 @@ def mkGenerator(project_info, makefile): mk_data["$csrc"], mk_data["$pcsrc"], mk_data["$asrc"], mk_data["$constants"] = csrcGenerator(project_info) mk_data["$prefix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0] mk_data["$suffix"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[1] - mk_data["$cross"] = project_info.info("TOOLCHAIN")["path"].split("gcc")[0] mk_data["$main"] = os.path.basename(project_info.info("PROJECT_PATH")) + "/main.c" for key in mk_data: while makefile.find(key) != -1: diff --git a/wizard/mktemplates/template.mk b/wizard/mktemplates/template.mk index 26a26d1e..3efbaa0c 100644 --- a/wizard/mktemplates/template.mk +++ b/wizard/mktemplates/template.mk @@ -18,8 +18,6 @@ $pname_PREFIX = $prefix $pname_SUFFIX = $suffix -$pname_CROSS = $cross - $pname_MCU = $cpuname # Files automatically generated by the wizard. DO NOT EDIT, USE $pname_USER_CSRC INSTEAD!