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