We use the Davinci DM3730,the software package is DVSDK4_03.
We use the C6000 compiler v 6.1.14(in the path:/home/davinci/dm3730/dvsdk4_03/cgt6x_6_1_14).
Then we install the compiler v7.3.4(ti_cgt_c6000_7.3.4_setup_linux_x86.bin) in the same path(/home/davinci/dm3730/dvsdk4_03/cgt6x_6_1_14).
Our code is in the path:
/home/davinci/dm3730/dvsdk4_03/codecs-omap3530_4_02_00_00/packages/ti/sdo/codecs.
In the path:/home/davinci/dm3730/dvsdk4_03, there is a xdctools_3_16_03_36. I know it's a compile tools,it generates the file:/home/davinci/dm3730/dvsdk4_03/codecs-omap3530_4_02_00_00/packages/ti/sdo/server/cs/pacakge.mak.We should add the build option --abi=eabi in the file package.mak. But int the file package.mak I saw that:
#
# Do not edit this file. This file is generated from
# package.bld. Any modifications to this file will be
# overwritten whenever makefiles are re-generated.
#
In the file package.bld :
/*
* ======== package.bld ========
*/
Pkg.attrs.exportAll = true;
Pkg.attrs.exportExe = true;
/* Uncomment this to build the server with debug support */
//Pkg.attrs.profile = "debug";
/* bin/ is a generated directory that 'xdc clean' should remove */
Pkg.generatedFiles.$add("bin/");
var fullName = Pkg.name;
var serverName = fullName.substring(fullName.lastIndexOf('.')+ 1);
Pkg.uses = ["ti/bios/include"];
for (var i = 0; i < Build.targets.length; i++) {
var targ = Build.targets[i];
print("building for target " + targ.name + " ...");
Pkg.addExecutable("bin/" + serverName, targ, "ti.platforms.evm3530",
{
// tcopts: "-Dxdc.cfg.check.fatal=false",
cfgScript: "server.tcf",
lopts: "-l link.cmd",
}).
addObjects( [
"main.c",
] );
}
I can't get useful information to add the build option.
All above is the detail,please help me to add the build option.