[U-Boot] [PATCH] tools/env: change stripping strategy to allow no-stripping
Masahiro Yamada
yamada.m at jp.panasonic.com
Thu Aug 28 03:43:45 CEST 2014
On Wed, 27 Aug 2014 14:29:00 +0200
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> 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.petazzoni at free-electrons.com>
> Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Sonic Zhang <sonic.zhang at analog.com>
Reviewed-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
Thanks!
More information about the U-Boot
mailing list