metaonly module ti.sysbios.Build
Configuration settings sourced in ti/sysbios/Build.xdc
var Build = xdc.useModule('ti.sysbios.Build');
module-wide constants & types
        obj.repo// full path to component repository = String  ...
        obj.incs// list of include paths = String[]  ...
        obj.files// list of component source files = String[]  ...
module-wide config parameters
module-wide functions
    Build.buildLibs// (Any objList, Any relList, Any filter, Any xdcArgs) returns Any
    Build.getAsmFiles// Get the library Asm source files(String target) returns Any
    Build.getCFiles// Get the library C source files(String target) returns String
    Build.getDefaultCustomCCOpts// () returns String
 
 
struct Build.Component

Define an annex component

Configuration settings
var obj = new Build.Component;
 
    obj.repo = String  ...
    // full path to component repository
    obj.incs = String[]  ...
    // list of include paths
    obj.files = String[]  ...
    // list of component source files
 
FIELDS
repo — Specify the fully qualified path to the component repository. This will become a vpath directive in the generated makefile. For example, if you specify repo as the following
                      /path/to/component/repository
the generated makefile will contain
                      vpath %.c /path/to/component/repository
files — An array of component source files. These will be added to the kernel build rule as dependencies. The file name must be found on the vpath given above. To avoid file name conflicts, it is recommended to specify package qualified file names. For example:
                      "my/package/fileA.c"
                      "my/package/fileB.c"
DETAILS
Annex components may be defined by adding this object type to the annex array. All components in this array will participate in the kernel build flow.
 
config Build.annex  // module-wide

The array of annex components

Configuration settings
Build.annex = Build.Component[] undefined;
 
DETAILS
All components defined in this array will participate in the kernel build flow. Components are of type Component.
To add a component to this array, use the following syntax:
  Build.annex.$add({
      repo: "/path/to/component/repository",
      files: [
          "my/package/fileA.c",
          "my/package/fileB.c"
      ]
  });
 
config Build.buildROM  // module-wide

Setting this to true causes the ROM to be built

Configuration settings
Build.buildROM = Bool false;
 
 
config Build.buildROMApp  // module-wide

Setting this to true tells the Build system that the user wants their application linked with the ROM image

Configuration settings
Build.buildROMApp = Bool false;
 
 
config Build.ccArgs  // module-wide

Array of strings added to the compile line used to build the custom RTOS library

Configuration settings
Build.ccArgs = String[] undefined;
 
DETAILS
To add to this array, use the following syntax: Build.ccArgs.$add("-DMY_MACRO=1");
 
config Build.includePaths  // module-wide

Array of header file include search paths used to build the custom RTOS library

Configuration settings
Build.includePaths = String[] undefined;
 
DETAILS
To add to this array, use the following syntax: Build.includePaths.$add("/path/to/my/include/files/");
 
Build.buildLibs()  // module-wide
Configuration settings
Build.buildLibs(Any objList, Any relList, Any filter, Any xdcArgs) returns Any
 
 
Build.getAsmFiles()  // module-wide

Get the library Asm source files

Configuration settings
Build.getAsmFiles(String target) returns Any
 
 
Build.getCFiles()  // module-wide

Get the library C source files

Configuration settings
Build.getCFiles(String target) returns String
 
 
Build.getCcArgs()  // module-wide

Get the compiler commpand line args

Configuration settings
Build.getCcArgs() returns String
 
 
Build.getCommandLineDefs()  // module-wide

Get the set of -D strings to insert into the makefile

Configuration settings
Build.getCommandLineDefs() returns String
 
 
Build.getDefaultCustomCCOpts()  // module-wide
Configuration settings
Build.getDefaultCustomCCOpts() returns String
 
 
Build.getDefs()  // module-wide

Get the compiler -D options necessary to build

Configuration settings
Build.getDefs() returns String
 
 
Build.getIncludePaths()  // module-wide

Get the set of -I strings to insert into the makefile

Configuration settings
Build.getIncludePaths() returns String
 
 
Build.getLibs()  // module-wide

Common getLibs() for all sysbios packages

Configuration settings
Build.getLibs(Any pkg) returns Any
 
generated on Thu, 23 May 2019 00:23:07 GMT