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) 2017, 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");
21 var r5fToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_R5F");
22 var a53ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A53");
23 var a72ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A72");
26 /* Get the base directory for the uart Socket Driver Package */
27 var lldPath = new java.io.File(".//").getPath();
29 /* Include Path */
30 var lldIncludePath = " -I" + lldPath + "/src" + " -I" + lldPath;
32 /* Configure the uart Socket Release Version Information */
33 /* 3 steps: remove SPACE and TAB, convert to string and split to make array */
34 var lldReleaseVersion = (""+Pkg.version.replace(/\s/g, "")).split(',');
36 /* Do not print the compiler options */
37 var pOpts = 0;
39 /* should library be explicity be specified for package.bld
40 * for makefile based builds that use this config_mk.bld,
41 * lib folder is not packaged automatically, need to
42 * provide the lib folder for explicit package.bld list
43 */
44 var pkgLibExplicitly = 1;
46 /* List of all devices that needs to be build via XDC
47 * As the build happens through makefile, there is nothing to build via XDC
48 * using the below for packaging infrastructure
49 */
50 var socs = [];
51 var devices = [];
52 var build_devices = [];
53 Build.useTargets = null;
54 Build.targets = []