]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcbsp-lld.git/blob - include/Module.xs
PRSDK-3513 Updated example config file to load McBSP library
[keystone-rtos/mcbsp-lld.git] / include / Module.xs
1 /******************************************************************************
2  * FILE PURPOSE: MCBSP LLD include files.
3  ******************************************************************************
4  * FILE NAME: module.xs
5  *
6  * DESCRIPTION: 
7  *  This file contains the module specification for MCBSP LLD include directory
8  *
9  * Copyright (C) 2012, Texas Instruments, Inc.
10  *****************************************************************************/
12 /* Load the library utility. */
13 var libUtility = xdc.loadCapsule ("../build/buildlib.xs");
15 /**************************************************************************
16  * FUNCTION NAME : modBuild
17  **************************************************************************
18  * DESCRIPTION   :
19  *  The function is used to add all the header files in the include 
20  *  directory into the package.
21  **************************************************************************/
22 function modBuild() 
23 {
24     /* Add all the .h files to the release package. */
25     var testFiles = libUtility.listAllFiles (".h", "include", true);
26     for (var k = 0 ; k < testFiles.length; k++)
27         Pkg.otherFiles[Pkg.otherFiles.length++] = testFiles[k];
28 }