summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-27 14:29:00 +0200
committerTom Rini <trini@ti.com>2014-09-24 18:30:27 -0400
commitbdc7dc4595646da8774f53a2c4f5a7599b0a5f16 (patch)
tree9063c63726d8ef6edc9f8b56e4e79763872a1ef4 /drivers/net
parente5bf9878ea743564bcc7a15a79654fe06731a1e2 (diff)
downloadu-boot-imx-bdc7dc4595646da8774f53a2c4f5a7599b0a5f16.zip
u-boot-imx-bdc7dc4595646da8774f53a2c4f5a7599b0a5f16.tar.gz
u-boot-imx-bdc7dc4595646da8774f53a2c4f5a7599b0a5f16.tar.bz2
tools/env: change stripping strategy to allow no-stripping
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@free-electrons.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Sonic Zhang <sonic.zhang@analog.com> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions