diff --git a/config.bld b/config.bld
index 52364eca5f438daab5c059bebea32e7d602214dd..0d31b4ebf28defaa65e1a45319a90d635ac07467 100644 (file)
--- a/config.bld
+++ b/config.bld
* and is responsible for configuration of the paths for the various tools\r
* required to build RM.\r
*\r
- * Copyright (C) 2012, Texas Instruments, Inc.\r
+ * Copyright (C) 2012-2013, Texas Instruments, Inc.\r
*****************************************************************************/\r
\r
/* Get the Tools Base directory from the Environment Variable. */\r
var lldPartNumber = java.lang.System.getenv("PARTNO");\r
\r
/* Include Path */\r
-var lldIncludePath = " -i" + lldPath + "/src" + " -i" + lldPath + " -i" + lldPath + "/test";\r
+var lldIncludePath = " -i" + lldPath + "/src" + " -i" + lldPath + " -i" + lldPath + "/test" + " -i" + lldPath + "/util/libfdt";\r
\r
/* Configure the RM Release Version Information */\r
-var lldReleaseVersion = [02,00,00,00];\r
+/* 3 steps: remove SPACE and TAB, convert to string and split to make array */\r
+var lldReleaseVersion = (""+Pkg.version.replace(/\s/g, "")).split(',');\r
\r
/* RM Coverity Analysis: Check the environment variable to determine if Static\r
* Analysis has to be done on the RM Code base or not? */\r
/* C66 ELF compiler configuration for Little Endian Mode. */\r
var C66LE = xdc.useModule('ti.targets.elf.C66');\r
C66LE.rootDir = toolsBaseDir;\r
-C66LE.ccOpts.prefix = "-mo -g --gcc -q -k -eo.o";\r
+C66LE.ccOpts.prefix = "-mo -o3 --gcc -q -k -eo.o";\r
\r
/* C66 ELF compiler configuration for Big Endian Mode. */\r
var C66BE = xdc.useModule('ti.targets.elf.C66_big_endian');\r
C66BE.rootDir = toolsBaseDir;\r
-C66BE.ccOpts.prefix = "-mo -g --gcc -q -k -eo.o -DBIGENDIAN";\r
+C66BE.ccOpts.prefix = "-mo -o3 --gcc -q -k -eo.o -DBIGENDIAN";\r
\r
/* Check if we need to run the STATIC Analysis or not? */\r
var coverityAnalysis = java.lang.System.getenv("STATIC_ANALYZE");\r
\r
/* List all the build targets here. */\r
Build.targets = [ C66LE, C66BE ];\r
-\r