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 @@ $(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) $< $@