Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369719

Summary: Enable targets to create/set new env vars when executing cmds
Product: [Technology] RTSC Reporter: Chris Ring <cring>
Component: TargetsAssignee: Dave Russo <d-russo>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: d-russo
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.23.01

Description Chris Ring CLA 2012-01-25 13:15:49 EST
Currently we don't export _all_ make variables into the environment.  Only environment variables already defined (before calling xdc) or variables explicitly exported by the makefile (via "export SOMEVARNAME") will be set when running a command.

Some toolchains (e.g. QNX) require environment variables to be set (e.g. QNX_HOST).  To create a target with these requirements, we need to enable that target to export these variables into the spawned environment.
Comment 1 Dave Russo CLA 2012-01-25 21:36:18 EST
fixed in 1623 (xdc-z05) and 1624 (xdc-y17)
Comment 2 Chris Ring CLA 2012-01-27 19:28:18 EST
Verified in xdctools_3_23_01_38_eng.
Comment 3 Dave Russo CLA 2013-01-24 15:12:02 EST
xdctools 3.23.05 GA is available from here: http://www.sanb.design.ti.com/tisb_releases/XDCtools/3_23_05_61/