]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcbsp-lld.git/blob - config_mk.bld
Merge pull request #6 in PROCESSOR-SDK/mcbsp-lld from PRSDK-2194 to master
[keystone-rtos/mcbsp-lld.git] / config_mk.bld
1 /******************************************************************************
2  * FILE PURPOSE: Build configuration Script for the MCBSP LLD
3  ******************************************************************************
4  * FILE NAME: config.bld
5  *
6  * DESCRIPTION: 
7  *  This file contains the build configuration script for the MCBSP LLD
8  *  and is responsible for configuration of the paths for the various 
9  *  tools required to build the LLD.
10  *
11  * Copyright (C) 2018, Texas Instruments, Inc.
12  *****************************************************************************/
14 /* Get the Tools Base directory from the Environment Variable. */
15 var toolsBaseDir = 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");
22 /* Get the base directory for the McBSP LLD Driver Package */
23 var driverPath = new java.io.File(".//").getPath();
25 /* Include Path */
26 var lldIncludePath = " -I" + driverPath + "/src" + " -I" + driverPath + " -I" + driverPath + "/include";
28 /* Configure the McBSP Release Version Information */
29 /* 3 steps: remove SPACE and TAB, convert to string and split to make array */
30 var mcbspDriverReleaseVersion = (""+Pkg.version.replace(/\s/g, "")).split(',');
32 /* Do not Print the Compiler Options */
33 var pOpts = 0;
35 /* List of all devices that needs to be build via XDC
36  * As the build happens through makefile, there is nothing to build via XDC
37  * using the below for packaging infrastructure
38  */
39 var socs = [];
40 var devices = [];
41 var build_devices = [];
42 Build.targets = []