File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,10 @@ def generate(self):
124
124
'to_be_compiled' ]:
125
125
ctx [key ] = sorted (ctx [key ])
126
126
ctx .update (self .format_flags ())
127
+ # Add the virtual path the the include option in the ASM flags
128
+ for index , flag in enumerate (ctx ['asm_flags' ]):
129
+ if flag .startswith ('-I' ):
130
+ ctx ['asm_flags' ][index ] = "-I" + ctx ['vpath' ][0 ] + "/" + ctx ['asm_flags' ][index ][2 :]
127
131
128
132
for templatefile in \
129
133
['makefile/%s_%s.tmpl' % (self .TEMPLATE ,
Original file line number Diff line number Diff line change 394
394
<MiscControls >{{asm_flags}}</MiscControls >
395
395
<Define ></Define >
396
396
<Undefine ></Undefine >
397
- <IncludePath ></IncludePath >
397
+ <IncludePath >{{include_paths}} </IncludePath >
398
398
</VariousControls >
399
399
</Aads >
400
400
<LDads >
You can’t perform that action at this time.
0 commit comments