summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 018acd3)
raw | patch | inline | side by side (parent: 018acd3)
author | Aravind Batni <aravindbr@ti.com> | |
Tue, 27 Oct 2015 19:21:37 +0000 (15:21 -0400) | ||
committer | Aravind Batni <aravindbr@ti.com> | |
Tue, 27 Oct 2015 19:21:37 +0000 (15:21 -0400) |
.gitignore | patch | blob | history | |
config.bld | patch | blob | history | |
docs/Module.xs | patch | blob | history |
diff --git a/.gitignore b/.gitignore
index 1dd1f3980f0a5d1cab8181fb81f86971130192e6..f284d4f97f1478451ebf00babb1419580c87223a 100644 (file)
--- a/.gitignore
+++ b/.gitignore
test/*/c66/bios/src
Debug/
Release/
test/*/c66/bios/src
Debug/
Release/
+docs/TCP3D_DRV_doxconfig
+docs/doxy/html/
+docs/eclipse/sample.xml
+
diff --git a/config.bld b/config.bld
index 8f0bdc5fff99c812b248c1267fed1693f5fac58d..743f11bbd898cbd762a6e979a9552362ea2f3f61 100644 (file)
--- a/config.bld
+++ b/config.bld
Pkg.attrs.archiver = "tar";\r
\r
/* Get the Tools Base directory from the Environment Variable. */\r
Pkg.attrs.archiver = "tar";\r
\r
/* Get the Tools Base directory from the Environment Variable. */\r
-var toolsBaseDir = java.lang.System.getenv("XDCCGROOT");\r
+var toolsBaseDir = java.lang.System.getenv("C6X_GEN_INSTALL_PATH");\r
\r
/* Get the base directory for the TCP3D Driver Package */\r
var tcp3dDriverPath = new java.io.File(".//").getPath();\r
\r
/* Get the base directory for the TCP3D Driver Package */\r
var tcp3dDriverPath = new java.io.File(".//").getPath();\r
/* List all the build targets here. */\r
Build.targets = [ C66LE, C66BE ];\r
\r
/* List all the build targets here. */\r
Build.targets = [ C66LE, C66BE ];\r
\r
-/* List of all devices that combine to make the hyplnk library.\r
- */\r
-var devices = [ "k2k/c66", "k2h/c66", "k2l/c66", "c6657/c66" ];\r
+/* Grab input from XDCARGS */\r
+var buildArguments = [];\r
\r
\r
-/* order must exactly match list in "var devices" */\r
-var devicesCCOpt = [ " -DDEVICE_K2K", " -DDEVICE_K2H", " -DDEVICE_K2L", "-DSOC_C6657"];\r
+/* Construct the build arguments */\r
+for (var tmp=0; arguments[tmp] != undefined; tmp++)\r
+{\r
+\r
+ /* If no arguments are provided, override for building all */\r
+ if ( ( arguments.length == 1) && (arguments[tmp].equals("./config.bld")) )\r
+ buildArguments[buildArguments.length++] = "all";\r
+ else\r
+ buildArguments[buildArguments.length++] = arguments[tmp];\r
+}\r
+\r
+var devices = [];\r
+var devicesCCOpt = [];\r
\r
\r
+if ( ( buildArguments.indexOf("k2k") != -1 ) ||\r
+ ( buildArguments.indexOf("all") != -1 ) ) \r
+{\r
+ print ("adding k2k to build");\r
+ devices.push("k2k/c66");\r
+ devicesCCOpt.push(" -DDEVICE_K2K");\r
+}\r
+\r
+if ( ( buildArguments.indexOf("k2h") != -1 ) ||\r
+ ( buildArguments.indexOf("all") != -1 ) ) \r
+{\r
+ print ("adding k2h to build");\r
+ devices.push("k2h/c66");\r
+ devicesCCOpt.push(" -DDEVICE_K2H");\r
+}\r
+\r
+if ( ( buildArguments.indexOf("k2l") != -1 ) ||\r
+ ( buildArguments.indexOf("all") != -1 ) ) \r
+{\r
+ print ("adding k2l to build");\r
+ devices.push("k2l/c66");\r
+ devicesCCOpt.push(" -DDEVICE_K2L");\r
+}\r
+\r
+if ( ( buildArguments.indexOf("c6657") != -1 ) ||\r
+ ( buildArguments.indexOf("all") != -1 ) ) \r
+{\r
+ print ("adding c6657 to build");\r
+ devices.push("c6657/c66");\r
+ devicesCCOpt.push(" -DSOC_C6657");\r
+}\r
+ \r
diff --git a/docs/Module.xs b/docs/Module.xs
index 282032c7aa86c692ec46a34c024b794c3fe11641..f7573e24a406eab118b22b8bd848a0c770fa21f5 100644 (file)
--- a/docs/Module.xs
+++ b/docs/Module.xs
Pkg.makePrologue += "\t @echo ----------------------------\n";\r
\r
/* Add the documentation file to the package. */\r
Pkg.makePrologue += "\t @echo ----------------------------\n";\r
\r
/* Add the documentation file to the package. */\r
- Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/TCP3D_DRV_APIIF.chm";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/TCP3D_DriverSDS.pdf";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tifooter.htm";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tiheader.htm";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/TCP3D_DriverSDS.pdf";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tifooter.htm";\r
Pkg.otherFiles[Pkg.otherFiles.length++] = "docs/tiheader.htm";\r