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 }