diff options
author | Jianzhong Xu | 2019-06-05 09:03:18 -0500 |
---|---|---|
committer | Jianzhong Xu | 2019-06-05 09:07:44 -0500 |
commit | 0ef96a3bb9fd8694ae75c4c3f85ad4ab2278f655 (patch) | |
tree | f320db89133039c5e54dc1968337908e08971b38 | |
parent | d0c1022954b489d5f3d8d2f5c81d8c6a392f4af4 (diff) | |
download | swtools-0ef96a3bb9fd8694ae75c4c3f85ad4ab2278f655.tar.gz swtools-0ef96a3bb9fd8694ae75c4c3f85ad4ab2278f655.tar.xz swtools-0ef96a3bb9fd8694ae75c4c3f85ad4ab2278f655.zip |
Version 5.0.8.1 changes:
1. Add --legacy to compiler options for MATHLIB/DSPLIB performance with 8.3.x compiler.
2. Change include path of dependency components to COM_TI_MAS_XXX_INSTALL_DIR.
-rw-r--r-- | ti/mas/swtools/CommonBld.xs | 11 | ||||
-rw-r--r-- | ti/mas/swtools/common.bld | 2 | ||||
-rw-r--r-- | ti/mas/swtools/package.bld | 2 | ||||
-rw-r--r-- | ti/mas/swtools/targParams.xs | 6 |
4 files changed, 14 insertions, 7 deletions
diff --git a/ti/mas/swtools/CommonBld.xs b/ti/mas/swtools/CommonBld.xs index 1c05adc..99dae46 100644 --- a/ti/mas/swtools/CommonBld.xs +++ b/ti/mas/swtools/CommonBld.xs | |||
@@ -4089,6 +4089,7 @@ function createbuildccspjts(action, ccsversion,pjtKind) | |||
4089 | continue; | 4089 | continue; |
4090 | 4090 | ||
4091 | } | 4091 | } |
4092 | cflags += " --legacy "; | ||
4092 | 4093 | ||
4093 | if(pjtKind == "test") | 4094 | if(pjtKind == "test") |
4094 | { | 4095 | { |
@@ -4229,12 +4230,18 @@ function createbuildccspjts(action, ccsversion,pjtKind) | |||
4229 | } | 4230 | } |
4230 | if(getxdcpath.match(keyPath+"/packages")) | 4231 | if(getxdcpath.match(keyPath+"/packages")) |
4231 | { | 4232 | { |
4232 | includepath += " -i$$$${"+key+"}/packages " ; | 4233 | //print("key is " + key); |
4234 | var newkey = key.replace("_INSTALL_DIR","X_INSTALL_DIR"); | ||
4235 | //print("new key is " + newkey); | ||
4236 | includepath += " -i$$$${"+"COM_TI_MAS_"+newkey+"}/packages " ; | ||
4233 | getxdcpath=getxdcpath.replace(keyPath+"/packages","") | 4237 | getxdcpath=getxdcpath.replace(keyPath+"/packages","") |
4234 | } | 4238 | } |
4235 | else | 4239 | else |
4236 | { | 4240 | { |
4237 | includepath += " -i$$$${"+key+"}" ; | 4241 | //print("Here: key is " + key); |
4242 | var newkey = key.replace("_INSTALL_DIR","X_INSTALL_DIR"); | ||
4243 | //print("Here: new key is " + newkey); | ||
4244 | includepath += " -i$$$${"+"COM_TI_MAS_"+newkey+"}" ; | ||
4238 | getxdcpath=getxdcpath.replace(keyPath,"") | 4245 | getxdcpath=getxdcpath.replace(keyPath,"") |
4239 | } | 4246 | } |
4240 | } | 4247 | } |
diff --git a/ti/mas/swtools/common.bld b/ti/mas/swtools/common.bld index c515500..dc2f291 100644 --- a/ti/mas/swtools/common.bld +++ b/ti/mas/swtools/common.bld | |||
@@ -72,7 +72,7 @@ print_buffer.other=""; | |||
72 | 72 | ||
73 | 73 | ||
74 | var commonC64PxCopts = " -c -k -q --mem_model:data=far -al -pds1111 -pds827 -pds824 -pds837 -pds1037 -pds195 -pdsw225"; | 74 | var commonC64PxCopts = " -c -k -q --mem_model:data=far -al -pds1111 -pds827 -pds824 -pds837 -pds1037 -pds195 -pdsw225"; |
75 | commonC64PxCopts += " -pdsw994 -pdsw262 -pds77 -pden -pds232 --consultant -mw -os -g -mi10000 -as -ss"; | 75 | commonC64PxCopts += " -pdsw994 -pdsw262 -pds77 -pden -pds232 --consultant -mw -os -g -mi10000 -as -ss --legacy"; |
76 | var commonC64PxAopts = " -ea.s -c -k -mi1000"; | 76 | var commonC64PxAopts = " -ea.s -c -k -mi1000"; |
77 | var C64PxSpeedOpts = " -o3 --optimize_with_debug"; | 77 | var C64PxSpeedOpts = " -o3 --optimize_with_debug"; |
78 | var C64PxSizeOpts = " -ms3"; | 78 | var C64PxSizeOpts = " -ms3"; |
diff --git a/ti/mas/swtools/package.bld b/ti/mas/swtools/package.bld index 57f7c5c..761a38b 100644 --- a/ti/mas/swtools/package.bld +++ b/ti/mas/swtools/package.bld | |||
@@ -86,7 +86,7 @@ | |||
86 | ***********************************************************************************************/ | 86 | ***********************************************************************************************/ |
87 | 87 | ||
88 | Package.pkgStdVer = "2.0"; | 88 | Package.pkgStdVer = "2.0"; |
89 | Package.version = [5, 0, 8, 0, 3, 0]; | 89 | Package.version = [5, 0, 8, 1, 3, 0]; |
90 | 90 | ||
91 | /* generate Version.xdc based on the version array above */ | 91 | /* generate Version.xdc based on the version array above */ |
92 | Package.createVersion(); | 92 | Package.createVersion(); |
diff --git a/ti/mas/swtools/targParams.xs b/ti/mas/swtools/targParams.xs index 634a056..96a9b5c 100644 --- a/ti/mas/swtools/targParams.xs +++ b/ti/mas/swtools/targParams.xs | |||
@@ -142,7 +142,7 @@ | |||
142 | 142 | ||
143 | 143 | ||
144 | /* Common C flags for C64x */ | 144 | /* Common C flags for C64x */ |
145 | var commonC64xCopts = " -c -k -q --mem_model:data=far -al -pds1111 -pds827 -pds824 -pds837 -pds1037 -pds195 -pdsw225 -pdsw994 -pdsw262 -pds77 -pden -pds232 -mw -os -g -mi10000 -as -ss"; | 145 | var commonC64xCopts = " -c -k -q --mem_model:data=far -al -pds1111 -pds827 -pds824 -pds837 -pds1037 -pds195 -pdsw225 -pdsw994 -pdsw262 -pds77 -pden -pds232 -mw -os -g -mi10000 -as -ss --legacy"; |
146 | 146 | ||
147 | var commonknlC6xCopt = " -c -k -mw "; | 147 | var commonknlC6xCopt = " -c -k -mw "; |
148 | 148 | ||
@@ -160,7 +160,7 @@ | |||
160 | var C64xSpeedOpts = " -o3 --optimize_with_debug"; | 160 | var C64xSpeedOpts = " -o3 --optimize_with_debug"; |
161 | 161 | ||
162 | /* C6x Kernel option */ | 162 | /* C6x Kernel option */ |
163 | var C6xKernelOpts = " -o3 --symdebug:none"; | 163 | var C6xKernelOpts = " -o3 --symdebug:none --legacy"; |
164 | 164 | ||
165 | /* C64x compiler option for size */ | 165 | /* C64x compiler option for size */ |
166 | var C64xSizeOpts = " -ms3"; | 166 | var C64xSizeOpts = " -ms3"; |
@@ -630,4 +630,4 @@ case C674_elf: | |||
630 | targParams.libpath=libraryPath; | 630 | targParams.libpath=libraryPath; |
631 | 631 | ||
632 | return(targParams); | 632 | return(targParams); |
633 | } \ No newline at end of file | 633 | } |