/****************************************************************************** * FILE PURPOSE: Build configuration Script for the MCBSP LLD ****************************************************************************** * FILE NAME: config.bld * * DESCRIPTION: * This file contains the build configuration script for the MCBSP LLD * and is responsible for configuration of the paths for the various * tools required to build the LLD. * * Copyright (C) 2018, Texas Instruments, Inc. *****************************************************************************/ /* Get the Tools Base directory from the Environment Variable. */ var toolsBaseDir = 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 McBSP LLD Driver Package */ var driverPath = new java.io.File(".//").getPath(); /* Include Path */ var lldIncludePath = " -I" + driverPath + "/src" + " -I" + driverPath + " -I" + driverPath + "/include"; /* Configure the McBSP Release Version Information */ /* 3 steps: remove SPACE and TAB, convert to string and split to make array */ var mcbspDriverReleaseVersion = (""+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 = []