scripts: waifulib: support vpk and nro pass for pure C programs, just in case
This commit is contained in:
parent
83b488c37e
commit
aa23196a55
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class elf2nro(Task.Task):
|
|||
return '%sConverting to NRO' % Logs.colors_lst['CYAN']
|
||||
return 'Converting to NRO'
|
||||
|
||||
@TaskGen.feature('cxxprogram')
|
||||
@TaskGen.feature('cxxprogram', 'cprogram')
|
||||
@TaskGen.after_method('apply_link')
|
||||
def apply_nro(self):
|
||||
elffile = self.link_task.outputs[0]
|
||||
|
|
|
@ -96,7 +96,7 @@ def apply_sfo(self):
|
|||
self.sfo_task = self.create_task('mksfoex', in_nodes)
|
||||
self.sfo_task.set_outputs(out_nodes)
|
||||
|
||||
@TaskGen.feature('cxxprogram')
|
||||
@TaskGen.feature('cxxprogram', 'cprogram')
|
||||
@TaskGen.after_method('apply_sfo')
|
||||
def apply_vpk(self):
|
||||
fselffile = self.fself_task.outputs[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue