Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351380 - xdc_cfg__header__ definition incompatibly changed
Summary: xdc_cfg__header__ definition incompatibly changed
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Russo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 21:20 EDT by Dave Russo CLA
Modified: 2011-11-24 12:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Russo CLA 2011-07-06 21:20:47 EDT
There was an inadvertent change in the name of the config generated header file when we added the ability to share configurations between executables :(

This breaks use of of xdc/cfg/global.h by clients building via makefiles.

The build integration instructions (http://rtsc.eclipse.org/docs-tip/Integrating_RTSC_Modules#Portable_Inclusion_of_Configuration_Constants) tell you to define xdc_cfg__header__ as "…/package/cfg/proxyServerHost_ti816x1_xem3.h".  But, because of the change, you should define it as "…/package/cfg/proxyServerHost_ti816x1_pem3.h"

We should support both or just the _x*
Comment 1 Dave Russo CLA 2011-07-07 10:43:21 EDT
One reason for the change was to make the generated file names independent of the build profile.  This is important for makefile-based build integrations.  So, any fix should preserve this property.