| Summary: | configuro generates a wrong linker.cmd when a tcf file is present | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Sasha Slijepcevic <sascha> | ||||
| Component: | Tools | Assignee: | Sasha Slijepcevic <sascha> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | target:3.23.04 | ||||||
| Attachments: |
|
||||||
- fixed in xdc-y26 closing bugs that have been in resolved state for more than a year in fixed state for more than one year |
Created attachment 208299 [details] test project for the bug If a TCF script is added to a RTSC project, and the project is built the following error output is displayed: 'Building file: ../app.cfg' 'Invoking: XDCtools' "C:/ccsproducts/xdctools_3_23_00_32/xs" --xdcpath="C:/ccsproducts/bios_6_32_04_49/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C64P -p ti.platforms.evm6424 -r release -c "C:/ccsv5/tools/compiler/c6000" --tcf "../app.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... gmake.exe: *** No rule to make target `package/cfg/app_p64P.xdl', needed by `linker.cmd'. Stop. The problem is caused by the mismatch in the name of the generated linker command file. The name in linker.cmd is package/cfg/app_p64P.xdl. The name used all through the generated package (and in package.mak) is package/cfg/app_x64P.xdl. I found that if I change the line 124 in xdc\tools\configuro\template\package.bld.xdt from '.p' to '.x' the problem is solved, but I am not sure if that's the right place for the fix. I attached a CCSv5.1.0 project that demonstrates the problem. It contains empty config files, so it fails anyway in the config step even when the bug is fixed. Without the fix, it doesn't reach the config step.