fix tirtos build for wolfssl name change

pull/62/head
Vikram Adiga 2015-04-01 16:43:05 -07:00
parent ad29c262d4
commit 4a5912c754
16 changed files with 36 additions and 35 deletions

View File

@ -50,7 +50,7 @@ var wolfSSLObjList = [
for each (var targ in Build.targets) { for each (var targ in Build.targets) {
var libOptions = {incs: wolfsslPathInclude}; var libOptions = {incs: wolfsslPathInclude};
var lib = Pkg.addLibrary("lib/" + Pkg.name, targ, libOptions); var lib = Pkg.addLibrary("lib/wolfssl", targ, libOptions);
lib.addObjects(wolfSSLObjList); lib.addObjects(wolfSSLObjList);
} }

View File

@ -1,7 +1,6 @@
/*! /*!
* ======== ti.net.wolfssl ======== * ======== ti.net.wolfssl ========
* wolfSSL library for TI-RTOS * wolfSSL library for TI-RTOS
*
*/ */
package ti.net.wolfssl { package ti.net.wolfssl [1, 0, 0] {
} }

View File

@ -8,5 +8,5 @@
*/ */
function getLibs(prog) function getLibs(prog)
{ {
return ("lib/" + this.$name + ".a" + prog.build.target.suffix); return ("lib/wolfssl.a" + prog.build.target.suffix);
} }

View File

@ -0,0 +1,6 @@
/*
* ======== ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.benchmark ========
* wc_ Benchmark Application
*/
package ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.benchmark [1, 0, 0] {
}

View File

@ -53,4 +53,3 @@ int main(int argc, char** argv)
BIOS_start(); BIOS_start();
} }

View File

@ -0,0 +1,6 @@
/*
* ======== ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.test ========
* wolfcrypt Test Application
*/
package ti.net.wolfssl.tests.EK_TM4C1294XL.wolfcrypt.test [1, 0, 0] {
}

View File

@ -1,6 +0,0 @@
/*
* ======== ti.net.wolfssl.tests.wolfcrypt.benchmark ========
* wc_ Benchmark Application
*/
package ti.net.wolfssl.tests.wolfcrypt.benchmark {
}

View File

@ -1,6 +0,0 @@
/*
* ======== ti.net.wolfssl.tests.wolfcrypt.test ========
* wolfcrypt Test Application
*/
package ti.net.wolfssl.tests.wolfcrypt.test {
}

View File

@ -32,21 +32,24 @@
*/ */
var armOpts = " -ms "; var armOpts = " -ms ";
var gnuOpts = ""; var gnuOpts = " -D_POSIX_SOURCE ";
var iarOpts = ""; var iarOpts = "";
/* Uncomment the following lines to build libraries for debug mode: */ /* Uncomment the following lines to build libraries for debug mode: */
// Pkg.attrs.profile = "debug"; // Pkg.attrs.profile = "debug";
// armOpts += " -g -o0 "; // armOpts += " -g -o0 ";
// gnuOpts += " -g "; // gnuOpts += " -g -D_POSIX_SOURCE ";
// iarOpts += " --debug "; // iarOpts += " --debug ";
var ccOpts = { var ccOpts = {
"ti.targets.arm.elf.M4F" : armOpts, "ti.targets.arm.elf.M4" : armOpts,
"ti.targets.arm.elf.M4F" : armOpts,
"gnu.targets.arm.M4F" : gnuOpts, "gnu.targets.arm.M4" : gnuOpts,
"gnu.targets.arm.M4F" : gnuOpts,
"iar.targets.arm.M4F" : iarOpts, "iar.targets.arm.M4" : iarOpts,
"iar.targets.arm.M4F" : iarOpts,
}; };
/* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */ /* initialize local vars with those set in xdcpaths.mak (via XDCARGS) */