1 /******************************************************************************
2 * FILE PURPOSE: Build configuration Script for the uart Driver
3 ******************************************************************************
4 * FILE NAME: config.bld
5 *
6 * DESCRIPTION:
7 * This file contains the build configuration script for the uart driver
8 * and is responsible for configuration of the paths for the various
9 * tools required to build the driver.
10 *
11 * Copyright (C) 2014-2016, Texas Instruments, Inc.
12 *****************************************************************************/
13 /* Get the Tools Base directory from the Environment Variable. */
14 var c66ToolsBaseDir = java.lang.System.getenv("C6X_GEN_INSTALL_PATH");
15 var c674ToolsBaseDir = java.lang.System.getenv("C6X_GEN_INSTALL_PATH");
16 var m4ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_M4");
17 var a15ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A15");
18 var a9ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A9");
19 var arm9ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_ARM9");
20 var a8ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A8");
23 /* Get the base directory for the uart Socket Driver Package */
24 var driverPath = new java.io.File(".//").getPath();
26 /* Include Path */
27 var lldIncludePath = " -I" + driverPath + "/src" + " -I" + driverPath;
29 /* Configure the uart Socket Release Version Information */
30 /* 3 steps: remove SPACE and TAB, convert to string and split to make array */
31 var driverReleaseVersion = (""+Pkg.version.replace(/\s/g, "")).split(',');
33 /* Do not print the compiler options */
34 var pOpts = 0;
36 /* List of all devices that needs to be build via XDC
37 * As the build happens through makefile, there is nothing to build via XDC
38 * using the below for packaging infrastructure
39 */
40 var socs = [];
41 var devices = [];
42 var build_devices = [];
43 Build.targets = []