Gates: Build HwSpinlock for both SMP and non-SMP modes
authorSuman Anna <s-anna@ti.com>
Sun, 6 May 2012 06:54:10 +0000 (01:54 -0500)
committerSuman Anna <s-anna@ti.com>
Mon, 7 May 2012 02:09:03 +0000 (21:09 -0500)
commit37fc67a9cc29980966933b698b4ed572d5401015
treefc517f705074e4118c649fef53e73d8f0acf831e
parent4fa17e8995f1012fc5a94f179a4b29923ae82068
Gates: Build HwSpinlock for both SMP and non-SMP modes

Two different hwspinlock libraries are built for both non-SMP
and SMP modes at build time based on configuration, and the
appropriate library is picked up during the linking stage in
the final executable based on the platform name.

The conditional build allows the build configuration to change
without overwriting the other mode's library.

Signed-off-by: Suman Anna <s-anna@ti.com>
src/ti/gates/hwspinlock/package.bld
src/ti/gates/hwspinlock/package.xs