diff options
author | Mahesh Radhakrishnan | 2019-01-10 13:55:17 -0600 |
---|---|---|
committer | Mahesh Radhakrishnan | 2019-01-10 13:55:17 -0600 |
commit | 055f9914f288b298d8f9f72f6f61fb7469b0ada6 (patch) | |
tree | 8b3a31ceded0415487f5941cc230d7e41103461f | |
parent | 1fb44eb37ba0fcf94011204c9776360bfef5696c (diff) | |
download | pktlib-055f9914f288b298d8f9f72f6f61fb7469b0ada6.tar.gz pktlib-055f9914f288b298d8f9f72f6f61fb7469b0ada6.tar.xz pktlib-055f9914f288b298d8f9f72f6f61fb7469b0ada6.zip |
CATREQ-2702: Descope big-endian c6x
-rwxr-xr-x | ti/runtime/pktlib/build/buildlib.xs | 6 | ||||
-rwxr-xr-x | ti/runtime/pktlib/config.bld | 17 | ||||
-rw-r--r-- | ti/runtime/pktlib/package.bld | 1 |
3 files changed, 2 insertions, 22 deletions
diff --git a/ti/runtime/pktlib/build/buildlib.xs b/ti/runtime/pktlib/build/buildlib.xs index 870f30e..1efa147 100755 --- a/ti/runtime/pktlib/build/buildlib.xs +++ b/ti/runtime/pktlib/build/buildlib.xs | |||
@@ -36,7 +36,7 @@ function createMiniPkg(pkgName) | |||
36 | Pkg.makeEpilogue += "release: mini_pkg\n"; | 36 | Pkg.makeEpilogue += "release: mini_pkg\n"; |
37 | Pkg.makeEpilogue += "mini_pkg:\n"; | 37 | Pkg.makeEpilogue += "mini_pkg:\n"; |
38 | Pkg.makeEpilogue += "\t tar -C " + '"' + newPkgRep + '"' + " -cf packages/" + pkgName + "_mini.tar " + | 38 | Pkg.makeEpilogue += "\t tar -C " + '"' + newPkgRep + '"' + " -cf packages/" + pkgName + "_mini.tar " + |
39 | packageName + "simpleC66LE.mak " + packageName + "simpleC66BE.mak\n"; | 39 | packageName + "simpleC66LE.mak " + "\n"; |
40 | 40 | ||
41 | /* Step2: Add the exported header files to the package */ | 41 | /* Step2: Add the exported header files to the package */ |
42 | var includeFiles = libUtility.listAllFiles (".h", ".", false); | 42 | var includeFiles = libUtility.listAllFiles (".h", ".", false); |
@@ -278,10 +278,6 @@ function createLibMake(makelibname,targetname, objectPath) | |||
278 | case String(C66LE): | 278 | case String(C66LE): |
279 | targetname=C66LE; | 279 | targetname=C66LE; |
280 | break; | 280 | break; |
281 | case String(C66BE): | ||
282 | targetname=C66BE; | ||
283 | break; | ||
284 | |||
285 | } | 281 | } |
286 | var fileModule = xdc.module('xdc.services.io.File'); | 282 | var fileModule = xdc.module('xdc.services.io.File'); |
287 | try{ | 283 | try{ |
diff --git a/ti/runtime/pktlib/config.bld b/ti/runtime/pktlib/config.bld index 057a133..0a35038 100755 --- a/ti/runtime/pktlib/config.bld +++ b/ti/runtime/pktlib/config.bld | |||
@@ -36,12 +36,6 @@ C66LE.ccOpts.prefix = "-mo -o3 -q -k -eo.o"; | |||
36 | if(extDbgFlags) | 36 | if(extDbgFlags) |
37 | C66LE.ccOpts.prefix = C66LE.ccOpts.prefix + " " + extDbgFlags; | 37 | C66LE.ccOpts.prefix = C66LE.ccOpts.prefix + " " + extDbgFlags; |
38 | 38 | ||
39 | /* C66 ELF compiler configuration for Big Endian Mode. */ | ||
40 | var C66BE = xdc.useModule('ti.targets.elf.C66_big_endian'); | ||
41 | C66BE.rootDir = c66toolsBaseDir; | ||
42 | C66BE.ccOpts.prefix = "-mo -o3 -q -k -eo.o -DBIGENDIAN"; | ||
43 | if(extDbgFlags) | ||
44 | C66BE.ccOpts.prefix = C66BE.ccOpts.prefix + " " + extDbgFlags; | ||
45 | 39 | ||
46 | /* Check if we need to run the STATIC Analysis or not? */ | 40 | /* Check if we need to run the STATIC Analysis or not? */ |
47 | var coverityAnalysis = java.lang.System.getenv("STATIC_ANALYZE"); | 41 | var coverityAnalysis = java.lang.System.getenv("STATIC_ANALYZE"); |
@@ -79,16 +73,7 @@ if (miniBuild == "ON") | |||
79 | }; | 73 | }; |
80 | C66LE.profiles["release"].filters[C66LE.profiles["release"].filters.length++] = makeC66LEFilter; | 74 | C66LE.profiles["release"].filters[C66LE.profiles["release"].filters.length++] = makeC66LEFilter; |
81 | 75 | ||
82 | var makeC66BEFilter = { | ||
83 | moduleName: "build.filter.Make", | ||
84 | params: { | ||
85 | makefileName: "simpleC66BE.mak", | ||
86 | } | ||
87 | }; | ||
88 | |||
89 | C66BE.profiles["release"].filters[C66BE.profiles["release"].filters.length++] = makeC66BEFilter; | ||
90 | |||
91 | } | 76 | } |
92 | 77 | ||
93 | /* List all the build targets here. */ | 78 | /* List all the build targets here. */ |
94 | Build.targets = [ C66LE, C66BE ]; | 79 | Build.targets = [ C66LE ]; |
diff --git a/ti/runtime/pktlib/package.bld b/ti/runtime/pktlib/package.bld index ec44f9f..d076307 100644 --- a/ti/runtime/pktlib/package.bld +++ b/ti/runtime/pktlib/package.bld | |||
@@ -79,7 +79,6 @@ else | |||
79 | print ("RTSC File Name : " + pktLibRTSCFileName); | 79 | print ("RTSC File Name : " + pktLibRTSCFileName); |
80 | print ("Coverity Analysis : " + (coverityAnalysis == "ON" ? "ON" : "OFF")); | 80 | print ("Coverity Analysis : " + (coverityAnalysis == "ON" ? "ON" : "OFF")); |
81 | print ("CC LE opts : " + C66LE.ccOpts.prefix); | 81 | print ("CC LE opts : " + C66LE.ccOpts.prefix); |
82 | print ("CC BE opts : " + C66BE.ccOpts.prefix); | ||
83 | print ("****************************************************************"); | 82 | print ("****************************************************************"); |
84 | 83 | ||
85 | /* Create the release package for the Packet Library */ | 84 | /* Create the release package for the Packet Library */ |