third_party/waf: upgrade to waf 2.0.8
[samba.git] / third_party / waf / waflib / extras / objcopy.py
index 939c2c1291be9e92f891e2e819b5adcd1f7e7c4f..82d8359ecf71c75ba20e9dab9acd83010fb43ca2 100644 (file)
@@ -3,7 +3,7 @@
 
 """
 Support for converting linked targets to ihex, srec or binary files using
-objcopy. Use the 'objcopy' feature in conjuction with the 'cc' or 'cxx'
+objcopy. Use the 'objcopy' feature in conjunction with the 'cc' or 'cxx'
 feature. The 'objcopy' feature uses the following attributes:
 
 objcopy_bfdname                Target object format name (eg. ihex, srec, binary).
@@ -43,9 +43,8 @@ def map_objcopy(self):
                pass
 
        if self.objcopy_install_path:
-               self.bld.install_files(self.objcopy_install_path,
-                                                          task.outputs[0],
-                                                          env=task.env.derive())
+               self.add_install_files(install_to=self.objcopy_install_path, install_from=task.outputs[0])
 
 def configure(ctx):
        ctx.find_program('objcopy', var='OBJCOPY', mandatory=True)
+