We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80dde0b commit 5ed8ad8Copy full SHA for 5ed8ad8
tools/export/makefile/__init__.py
@@ -124,10 +124,10 @@ def generate(self):
124
'to_be_compiled']:
125
ctx[key] = sorted(ctx[key])
126
ctx.update(self.format_flags())
127
+
128
# Add the virtual path the the include option in the ASM flags
- 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:]
+ ctx['asm_flags'] = map(lambda item: "-I" + ctx['vpath'][0] + "/" + item[2:]
+ if item.startswith('-I') else item, ctx['asm_flags'])
131
132
for templatefile in \
133
['makefile/%s_%s.tmpl' % (self.TEMPLATE,
0 commit comments