summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Radhakrishnan2019-08-02 10:25:10 -0500
committerMahesh Radhakrishnan2019-08-02 10:25:10 -0500
commit6d3758fda4c8c40fa9bd1194a9c713c9675b5a40 (patch)
tree8b3a31ceded0415487f5941cc230d7e41103461f
parent1fb44eb37ba0fcf94011204c9776360bfef5696c (diff)
parent055f9914f288b298d8f9f72f6f61fb7469b0ada6 (diff)
downloadpktlib-master.tar.gz
pktlib-master.tar.xz
pktlib-master.zip
Merge pull request #4 in PROCESSOR-SDK/pktlib from CATREQ-2702 to masterHEADDEV.PKTLIB.2.1.0.8Bmaster
* commit '055f9914f288b298d8f9f72f6f61fb7469b0ada6': CATREQ-2702: Descope big-endian c6x
-rwxr-xr-xti/runtime/pktlib/build/buildlib.xs6
-rwxr-xr-xti/runtime/pktlib/config.bld17
-rw-r--r--ti/runtime/pktlib/package.bld1
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";
36if(extDbgFlags) 36if(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. */
40var C66BE = xdc.useModule('ti.targets.elf.C66_big_endian');
41C66BE.rootDir = c66toolsBaseDir;
42C66BE.ccOpts.prefix = "-mo -o3 -q -k -eo.o -DBIGENDIAN";
43if(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? */
47var coverityAnalysis = java.lang.System.getenv("STATIC_ANALYZE"); 41var 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. */
94Build.targets = [ C66LE, C66BE ]; 79Build.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 */