mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 05:11:51 +08:00
scripts: waifulib: add special_install_path for platform-specific executable formats that create post link stage (was nro_install_path)
This commit is contained in:
@@ -58,7 +58,7 @@ def apply_nro(self):
|
||||
tsk = self.nro_task = self.create_task('elf2nro', nodes)
|
||||
self.nro_task.set_outputs(nodes[0].change_ext('.nro'))
|
||||
|
||||
inst_to = getattr(self, 'nro_install_path', None)
|
||||
inst_to = getattr(self, 'special_install_path', None)
|
||||
if inst_to:
|
||||
self.add_install_files(install_to=inst_to,
|
||||
install_from=tsk.outputs[:], chmod=Utils.O755, task=tsk)
|
||||
|
||||
@@ -113,5 +113,10 @@ def apply_vpk(self):
|
||||
self.env.SCESYS = [str(scesysdir)]
|
||||
self.env.VPKFILE = str(vpkfile)
|
||||
|
||||
self.vpk_task = self.create_task('mkvpk', in_nodes)
|
||||
tsk = self.vpk_task = self.create_task('mkvpk', in_nodes)
|
||||
self.vpk_task.set_outputs(out_nodes)
|
||||
|
||||
inst_to = getattr(self, 'special_install_path', None)
|
||||
if inst_to:
|
||||
self.add_install_files(install_to=inst_to,
|
||||
install_from=tsk.outputs[:], chmod=Utils.O755, task=tsk)
|
||||
|
||||
Reference in New Issue
Block a user