I imported the rfPacketRx_CC1310_LAUNCHXL_tirtos_ccs example project into a new workspace, made some changes, then created a second Build Configuration (just a copy of the default Debug configuration).
The original configuration builds OK but the new one doesn't build at all. I discovered that the generated makefile is zero bytes long.
In the workspace's .metadata folder there is a .log file which reports a java null pointer exception and this trace:
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.calculateSecondaryOutputs(GnuMakefileGenerator.java:1883)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.addTargets(GnuMakefileGenerator.java:1332)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.populateTopMakefile(GnuMakefileGenerator.java:831)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.populateTopMakefile(CCSMakefileGenerator.java:453)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.regenerateMakefiles(GnuMakefileGenerator.java:602)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.regenerateMakefiles(CCSMakefileGenerator.java:383)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.regenerateMakefiles(CCSMakefileGenerator.java:369)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1008)
So it seems that "secondary outputs" are implicated. (Perhaps by being non-existent?)
If anyone recognises this scenario and knows of potential causes/solutions, please let me know.
I suspect that my merging of the TI-RTOS project into the rfPacketRx project is relevant.
For reference, I'm using CCS 10.4 (but 10.3 had the same problem) and I see this behaviour on two different computers with several projects.