Having difficulty rebuilding the ti.drivers.* modules. The build scripts appear to be adding the libraries to the build list more than once for some reason. Any tips on debugging XDC build system: how does one print output from .bld, .xs, .cfg (other than throwing an exception)? Also, the answer to this related question [1] would help here.
Host: Linux x86, toolchain: arm-non-eabi-gcc [2]
Target in config.bld: gnu.targets.arm.M4
Hardware: Tiva C Launchpad TM4C123GXL
Note: other XDC modules build just fine
[1] http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/299200.aspx
[2] https://launchpad.net/gcc-arm-embedded
$ xs xdc.tools.repoman -c -p .../tirtos_1_10_00_23/packages -r ../repo ti.drivers
$ cd ../repo/ti/drivers/
$ cp .../config.bld .
$ xdc XDCOPTIONS=-v XDCPATH=.../tirtos_1_10_00_23/packages/
#
# making package.mak (because of package.bld) ...
.../xdctools_3_25_03_72/xs -Dxdc.path=".../tirtos_1_10_00_23/packages/;.../xdctools_3_25_03_72/packages;../.." -Dxdc.root=.../xdctools_3_25_03_72 -Dxdc.hostOS=Linux -Dconfig.importPath=".;.../tirtos_1_10_00_23/packages/;..../xdctools_3_25_03_72/packages;../..;..../xdctools_3_25_03_72;.../xdctools_3_25_03_72/etc" -Dxdc.bld.targets="" -DTOOLS= -f .../xdctools_3_25_03_72/packages/xdc/bld/bld.js ./config.bld package.bld package.mak
js: ".../tirtos_1_10_00_23/packages/ti/tirtos/build/common.bld", line 138: xdc.services.global.XDCException: xdc.bld.LIBRARY_EXISTS: Library 'lib/instrumented/usbmschfatfs_tivaware.am4g' already exists.
"./package.bld", line 176
gmake: *** Deleting file `package.mak'
gmake: *** No rule to make target `package.mak', needed by `.interfaces'. Stop.