summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-18 12:44:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-19 09:56:13 +0200
commit1c0412aee04b67bdc5cda6a5a8886c4542429d3d (patch)
tree0df6da9fc298ee7cdd129473181cff5d5c2247b7
parent068b38ca737bd1698c3e5cb1387e1b7e1a7e697e (diff)
downloadbarebox-1c0412aee04b67bdc5cda6a5a8886c4542429d3d.tar.gz
efi: use objcopy with CROSS_COMPILE prefix
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/efi/Makefile2
1 files changed, 1 insertions, 1 deletions
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) $< $@