<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior Development Tools中的主题 makefile generation bug with CW 10.5</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282141#M444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have a possible makefile generation bug when using processor expert and CW 10.5.&lt;/P&gt;&lt;P&gt;Even though I've told the tool to "Create Flash Image", "Create Extended Listing", and "Print Size" in the project properties -&amp;gt; C/C++ Build -&amp;gt;Settings -&amp;gt; Additional Tools menu, the makefile targets aren't executed when built. The *.elf file is generated but not the additional targets.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've traced the issue down to the makefile. It looks like 1 of 2 things were supposed to happen by the makefile generator, but they didn't.&lt;/P&gt;&lt;P&gt;There are targets for *.hex, *.lst, *.siz but they're NOT in the deps list for the "explicit-dependencies" target. Instead, the target contains 3 copies of the original *.elf target. My best guess is the generator isn't taking the extension of the target into account. These 3 deps disappear if I turn off the check boxes in the settings menu.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a makefile var named "secondary-outputs". This rule is called by make but the variables contained in the deps list are completely empty. &lt;/P&gt;&lt;P&gt;I take it an engineer was changing from / to one method of putting the additional targets of the list of targets, but wasn't able to complete the task by release time.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if this is an Eclipse issue or a CW 10.5 issue. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2013 03:08:39 GMT</pubDate>
    <dc:creator>joshc2</dc:creator>
    <dc:date>2013-11-16T03:08:39Z</dc:date>
    <item>
      <title>makefile generation bug with CW 10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282141#M444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I have a possible makefile generation bug when using processor expert and CW 10.5.&lt;/P&gt;&lt;P&gt;Even though I've told the tool to "Create Flash Image", "Create Extended Listing", and "Print Size" in the project properties -&amp;gt; C/C++ Build -&amp;gt;Settings -&amp;gt; Additional Tools menu, the makefile targets aren't executed when built. The *.elf file is generated but not the additional targets.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've traced the issue down to the makefile. It looks like 1 of 2 things were supposed to happen by the makefile generator, but they didn't.&lt;/P&gt;&lt;P&gt;There are targets for *.hex, *.lst, *.siz but they're NOT in the deps list for the "explicit-dependencies" target. Instead, the target contains 3 copies of the original *.elf target. My best guess is the generator isn't taking the extension of the target into account. These 3 deps disappear if I turn off the check boxes in the settings menu.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a makefile var named "secondary-outputs". This rule is called by make but the variables contained in the deps list are completely empty. &lt;/P&gt;&lt;P&gt;I take it an engineer was changing from / to one method of putting the additional targets of the list of targets, but wasn't able to complete the task by release time.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if this is an Eclipse issue or a CW 10.5 issue. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2013 03:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282141#M444</guid>
      <dc:creator>joshc2</dc:creator>
      <dc:date>2013-11-16T03:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: makefile generation bug with CW 10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282142#M445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;this is a known bug in the GNU make file generator if you have 'per file settings'.&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/" title="http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/"&gt;http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2013 07:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282142#M445</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-11-16T07:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: makefile generation bug with CW 10.5</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282143#M446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich. I forgot about your other website.&lt;/P&gt;&lt;P&gt;As always, you the man.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2013 08:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/makefile-generation-bug-with-CW-10-5/m-p/282143#M446</guid>
      <dc:creator>joshc2</dc:creator>
      <dc:date>2013-11-16T08:26:24Z</dc:date>
    </item>
  </channel>
</rss>

