@@ -2637,7 +2637,7 @@ bool ProjMgrWorker::ProcessDebuggers(ContextItem& context) {
26372637 context.debugger .protocol = m_activeTargetSet.debugger .protocol ;
26382638 if (!m_activeTargetSet.debugger .dbgconf .empty ()) {
26392639 context.debugger .dbgconf = m_activeTargetSet.debugger .dbgconf ;
2640- if (!ProcessSequenceRelative (context, context.debugger .dbgconf , context.csolution ->directory )) {
2640+ if (!ProcessSequenceRelative (context, context.debugger .dbgconf , context.csolution ->directory , false )) {
26412641 return false ;
26422642 }
26432643 if (RteFsUtils::IsRelative (context.debugger .dbgconf )) {
@@ -2647,7 +2647,7 @@ bool ProjMgrWorker::ProcessDebuggers(ContextItem& context) {
26472647 context.debugger .startPname = m_activeTargetSet.debugger .startPname ;
26482648 for (auto telnet : m_activeTargetSet.debugger .telnet ) {
26492649 if (!telnet.file .empty ()) {
2650- if (!ProcessSequenceRelative (context, telnet.file , context.csolution ->directory )) {
2650+ if (!ProcessSequenceRelative (context, telnet.file , context.csolution ->directory , false )) {
26512651 return false ;
26522652 }
26532653 }
@@ -2670,7 +2670,8 @@ bool ProjMgrWorker::ProcessImages(ContextItem& context) {
26702670 const vector<ImageItem>& images = m_activeTargetSet.images ;
26712671 for (auto item : images) {
26722672 if (!item.image .empty ()) {
2673- if (!ProcessSequenceRelative (context, item.image , context.csolution ->directory )) {
2673+ // process access sequences
2674+ if (!ProcessSequenceRelative (context, item.image , context.csolution ->directory , false )) {
26742675 return false ;
26752676 }
26762677 if (RteFsUtils::IsRelative (item.image )) {
@@ -3549,7 +3550,8 @@ void ProjMgrWorker::ExpandPackDir(ContextItem& context, const string& pack, stri
35493550 item = regex_replace (item, regEx, replacement);
35503551}
35513552
3552- bool ProjMgrWorker::ProcessSequenceRelative (ContextItem& context, string& item, const string& ref, string outDir, bool withHeadingDot, bool solutionLevel) {
3553+ bool ProjMgrWorker::ProcessSequenceRelative (ContextItem& context, string& item, const string& ref,
3554+ bool genDep, string outDir, bool withHeadingDot, bool solutionLevel) {
35533555 size_t offset = 0 ;
35543556 bool pathReplace = false ;
35553557 outDir = outDir.empty () && item != context.directories .cprj ? context.directories .cprj : outDir;
@@ -3610,7 +3612,7 @@ bool ProjMgrWorker::ProcessSequenceRelative(ContextItem& context, string& item,
36103612 // expand access sequence
36113613 ExpandAccessSequence (context, refContext, sequenceName, outDir, item, withHeadingDot);
36123614 // store dependency information
3613- if (refContext.name != context.name ) {
3615+ if (genDep && refContext.name != context.name ) {
36143616 CollectionUtils::PushBackUniquely (context.dependsOn , refContext.name );
36153617 }
36163618 } else {
@@ -4904,7 +4906,7 @@ std::string ProjMgrWorker::GetBoardInfoString(const std::string& vendor,
49044906
49054907bool ProjMgrWorker::ProcessSequencesRelatives (ContextItem& context, vector<string>& src, const string& ref, string outDir, bool withHeadingDot, bool solutionLevel) {
49064908 for (auto & item : src) {
4907- if (!ProcessSequenceRelative (context, item, ref, outDir, withHeadingDot, solutionLevel)) {
4909+ if (!ProcessSequenceRelative (context, item, ref, true , outDir, withHeadingDot, solutionLevel)) {
49084910 return false ;
49094911 }
49104912 }
0 commit comments