1 /******************************************************************************
2 * FILE PURPOSE: RM include files.
3 ******************************************************************************
4 * FILE NAME: module.xs
5 *
6 * DESCRIPTION:
7 * This file contains the module specification for RM util directory
8 *
9 * Copyright (C) 2012-2013, 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 tree algorithm files to the release package. */
25 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/tree.h";
27 /* Add libfdt library files to the relesae packages */
28 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt.c";
29 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt.h";
30 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt_ro.c";
31 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt_rw.c";
32 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt_strerror.c";
33 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt_sw.c";
34 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/fdt_wip.c";
35 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/libfdt.h";
36 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/libfdt_env.h";
37 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/libfdt_internal.h";
38 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/Makefile.libfdt";
39 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/TODO";
40 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/libfdt/version.lds";
42 /* Add the DTB to C-character array conversion utility */
43 Pkg.otherFiles[Pkg.otherFiles.length++] = "util/cify.sh";
44 }