From ab51ad592a00ab8946bda32b4b16a5fc84cac4c9 Mon Sep 17 00:00:00 2001 From: Chris Ring Date: Tue, 9 Apr 2013 16:19:19 -0700 Subject: [PATCH] SrvMgr: minor build script cleanup Slight modification to how the package 'release' phase works to follow conventions and better align with other ipc packages. In addition, some minor whitespace and comment changes to better align with other ipc build scripts. --- packages/ti/srvmgr/omaprpc/package.bld | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/ti/srvmgr/omaprpc/package.bld b/packages/ti/srvmgr/omaprpc/package.bld index 5fca6fc..11eee46 100644 --- a/packages/ti/srvmgr/omaprpc/package.bld +++ b/packages/ti/srvmgr/omaprpc/package.bld @@ -29,20 +29,21 @@ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - /* * ======== package.bld ======== - * */ -/* explicit references to global objects */ var Build = xdc.useModule('xdc.bld.BuildEnvironment'); var Pkg = xdc.useModule('xdc.bld.PackageContents'); -/* add custom files to all releases */ +/* + * This package distributes its sources in the default release. This is to + * enable better understanding by the customer/field, as well as enable + * modification and profiling techniques in the field. + */ Pkg.attrs.exportSrc = true; + Pkg.otherFiles = [ - "OmapRpc.c", "OmapRpc.h", "package.bld" ]; @@ -51,10 +52,6 @@ Pkg.otherFiles = [ Pkg.generatedFiles.$add("lib/"); Pkg.libDir = "package/"; -/* add custom files to all releases */ -Pkg.attrs.exportSrc = false; -Pkg.attrs.exportCfg = true; - /* list of libraries to build */ var libArray = new Array(); -- 2.39.2