Build: Fix ti.pm to support package release goal
authorChris Ring <cring@ti.com>
Thu, 28 Feb 2013 21:43:27 +0000 (13:43 -0800)
committerChris Ring <cring@ti.com>
Thu, 28 Feb 2013 21:43:27 +0000 (13:43 -0800)
commit774a37f851b79e5560247e8a1bc20923cf6ab003
treeaa8a9bae52ebabc3fab62ef441bb9e9b5e7c1a84
parent7efcfad6edce59c2571dbd51c544af732a001f00
Build: Fix ti.pm to support package release goal

The ti.pm package incorrectly uses the Program object in its package.xs
init() method, regardless of the 'phase' of the build.  The Program object
is only valid in the 'cfg' phase.  Now init() correctly checks that it's in
the 'cfg' phase before using the Program object.
packages/ti/pm/package.xs