@@ -123,7 +123,8 @@ def validate_resources(self):
123
123
raise NotSupportedException ("No linker script found." )
124
124
125
125
def create_jinja_ctx (self ):
126
-
126
+ self .options = {}
127
+ flags = {}
127
128
self .validate_resources ()
128
129
# Convert all Backslashes to Forward Slashes
129
130
self .resources .win_to_unix ()
@@ -141,8 +142,6 @@ def create_jinja_ctx(self):
141
142
142
143
profile_ids = [s .lower () for s in profiles ]
143
144
profile_ids .sort ()
144
-
145
- self .options = {}
146
145
for prof_id in profile_ids :
147
146
# There are 4 categories of options, a category common too
148
147
# all tools and a specific category for each of the tools.
@@ -231,7 +230,6 @@ def create_jinja_ctx(self):
231
230
'ld_flags' : self .flags ['ld_flags' ],
232
231
'asm_flags' : self .flags ['asm_flags' ],
233
232
'common_flags' : self .flags ['common_flags' ],
234
- 'target' : self .target ,
235
233
'include_paths' : include_paths ,
236
234
'forced_includes' : forced_includes ,
237
235
'c_sources' : c_sources ,
@@ -305,11 +303,12 @@ def get_all_profiles():
305
303
306
304
@staticmethod
307
305
def get_netbeans_file_list (file_list ):
308
- output = []
306
+ cur_dir = ''
309
307
prev_dir = ''
308
+ output = []
310
309
folder_count = 1
311
310
dir_depth = 0
312
- for item in ( file_list ) :
311
+ for item in file_list :
313
312
cur_dir = os .path .dirname (item )
314
313
dir_temp = os .path .normpath (cur_dir )
315
314
prev_dir_temp = os .path .normpath (prev_dir )
0 commit comments