[PATCH] efi: use objcopy with CROSS_COMPILE prefix

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 19 11:06:44 PDT 2014


On Thu, Sep 18, 2014 at 12:44:29PM +0200, Michael Olbrich wrote:
> Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
> ---
>  arch/efi/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/efi/Makefile b/arch/efi/Makefile
> index af28085..85cb655 100644
> --- a/arch/efi/Makefile
> +++ b/arch/efi/Makefile
> @@ -24,7 +24,7 @@ cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@	\
>  		$(filter-out $(barebox-lds) $(barebox-common) FORCE ,$^)
>  
>  quiet_cmd_efi_image = EFI-IMG $@
> -      cmd_efi_image = objcopy -j .text -j .sdata -j .data -j .dynamic \
> +      cmd_efi_image = $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
>  		      -j .dynsym -j .rel -j .rela -j .reloc -j __barebox_initcalls \
>  		      -j __barebox_cmd -j .barebox_magicvar -j .bbenv.* \
>  		      --target=$(TARGET) $< $@
> -- 
> 2.1.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list