waf: px4: fix log output for px4_copy task

It was displaying the source path as the destination!
This commit is contained in:
Gustavo Jose de Sousa 2016-03-29 18:39:47 -03:00 committed by Lucas De Marchi
parent f19922fec5
commit 218dc3fdf2

View File

@ -106,6 +106,9 @@ class px4_copy(Task.Task):
def keyword(self): def keyword(self):
return "PX4: Copying %s to" % self.inputs[0].name return "PX4: Copying %s to" % self.inputs[0].name
def __str__(self):
return self.outputs[0].path_from(self.generator.bld.bldnode)
class px4_add_git_hashes(Task.Task): class px4_add_git_hashes(Task.Task):
run_str = '${PYTHON} ${PX4_ADD_GIT_HASHES} --ardupilot ${PX4_APM_ROOT} --px4 ${PX4_ROOT} --nuttx ${PX4_NUTTX_ROOT} --uavcan ${PX4_UAVCAN_ROOT} ${SRC} ${TGT}' run_str = '${PYTHON} ${PX4_ADD_GIT_HASHES} --ardupilot ${PX4_APM_ROOT} --px4 ${PX4_ROOT} --nuttx ${PX4_NUTTX_ROOT} --uavcan ${PX4_UAVCAN_ROOT} ${SRC} ${TGT}'
color = 'CYAN' color = 'CYAN'