diff --git a/compiler/systems/t_embed.pas b/compiler/systems/t_embed.pas index 39069fec32..3a598d5694 100644 --- a/compiler/systems/t_embed.pas +++ b/compiler/systems/t_embed.pas @@ -1310,10 +1310,6 @@ begin success:=DoExec(FindUtil(utilsprefix+'objcopy'),'-O binary '+ ChangeFileExt(current_module.exefilename,'.elf')+' '+ ChangeFileExt(current_module.exefilename,'.bin'),true,false); -{$ifdef ARM} - if success and (current_settings.controllertype = ct_raspi2) then - success:=DoExec(FindUtil(utilsprefix+'objcopy'),'-O binary '+ FixedExeFileName + ' kernel7.img',true,false); -{$endif ARM} end; MakeExecutable:=success; { otherwise a recursive call to link method }