Changed name of LPC4088 cmdline hook function

For compatibility with the on-line build system
pull/122/head
Bogdan Marinescu 2013-12-09 15:39:41 +02:00
parent 7a7c14e050
commit 17471ea8ed
1 changed files with 2 additions and 2 deletions

View File

@ -175,10 +175,10 @@ class LPC4088(Target):
def init_hooks(self, hook, toolchain_name):
if toolchain_name in ['ARM_STD', 'ARM_MICRO']:
hook.hook_add_binary("post", self.binary_hook)
hook.hook_cmdline_linker(self.cmdline_hook)
hook.hook_cmdline_linker(self.link_cmdline_hook)
@staticmethod
def cmdline_hook(toolchain, cmdline):
def link_cmdline_hook(toolchain, cmdline):
return cmdline + ["--any_placement=first_fit"]
@staticmethod