]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blob - packages/ti/drv/spi/config_mk.bld
SPI packaging error fix
[processor-sdk/pdk.git] / packages / ti / drv / spi / config_mk.bld
1 /******************************************************************************\r
2  * FILE PURPOSE: Build configuration Script for the spi Driver\r
3  ******************************************************************************\r
4  * FILE NAME: config.bld\r
5  *\r
6  * DESCRIPTION: \r
7  *  This file contains the build configuration script for the spi driver\r
8  *  and is responsible for configuration of the paths for the various \r
9  *  tools required to build the driver.\r
10  *\r
11  * Copyright (C) 2014-2015, Texas Instruments, Inc.\r
12  *****************************************************************************/\r
13 \r
14 /* Get the Tools Base directory from the Environment Variable. */\r
15 var c66ToolsBaseDir = java.lang.System.getenv("C6X_GEN_INSTALL_PATH");\r
16 var m4ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_M4");\r
17 var a15ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A15");\r
18 var a9ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A9");\r
19 var a8ToolsBaseDir = java.lang.System.getenv("TOOLCHAIN_PATH_A8");\r
20 \r
21 /* Get the base directory for the spi Socket Driver Package */\r
22 var driverPath = new java.io.File(".//").getPath();\r
23 \r
24 /* Include Path */\r
25 var lldIncludePath = " -I" + driverPath + "/src" + " -I" + driverPath;\r
26 \r
27 /* Configure the spi Socket Release Version Information */\r
28 /* 3 steps: remove SPACE and TAB, convert to string and split to make array */\r
29 var driverReleaseVersion = (""+Pkg.version.replace(/\s/g, "")).split(',');\r
30 \r
31 /* Do not Print the Compiler Options */\r
32 var pOpts = 0;\r
33 \r
34 /* List of all devices that needs to be build via XDC\r
35  * As the build happens through makefile, there is nothing to build via XDC\r
36  * using the below for packaging infrastructure\r
37  */\r
38 var socs = [];\r
39 var devices = [];\r
40 var build_devices = [];\r
41 Build.useTargets = null;
42 Build.targets = []\r
43 \r