On Wed, Aug 27, 2014 at 02:29:00PM +0200, Thomas Petazzoni wrote:

> When building the U-Boot tools for non-ELF platforms (such as Blackfin
> FLAT), since commit 79fc0c5f498c3982aa4740c273ab1a9255063d9c
> ("tools/env: cross-compile fw_printenv without setting HOSTCC"), the
> build fails because it tries to strip a FLAT binary, which does not
> make sense.
> 
> This commit solves this by changing the stripping logic in
> tools/env/Makefile to be similar to the one in tools/Makefile. This
> logic continues to apply strip to the final binary, but does not abort
> the build if it fails, and does the stripping in place on the final
> binary. This allows the logic to work fine if stripping doesn't work,
> as it leaves the final binary untouched.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
> Cc: Masahiro Yamada <yamad...@jp.panasonic.com>
> Cc: Sonic Zhang <sonic.zh...@analog.com>
> Reviewed-by: Masahiro Yamada <yamad...@jp.panasonic.com>
> Reviewed-by: Sonic Zhang <sonic.zh...@analog.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to