Remove CROSS from the mk template
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 10 Apr 2009 13:41:55 +0000 (13:41 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 10 Apr 2009 13:41:55 +0000 (13:41 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2482 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos_utils.py
wizard/mktemplates/template.mk

index af65478aae3e377df7231c0a508466c5ed317a61..5666e558b3d7587d267e53c91f0d47df2cebed82 100644 (file)
@@ -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:
index 26a26d1ef6de0d37eb2bfe607430a8b60ce6d985..3efbaa0c4e7c83d159aac335bfb9ed856aaa561a 100644 (file)
@@ -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!