From: Tom Rini Date: Thu, 25 Sep 2014 10:44:23 -0400 Subject: [U-Boot] tools/env: change stripping strategy to allow no-stripping In-Reply-To: <1409142540-22651-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1409142540-22651-1-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20140925144423.GM25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Masahiro Yamada > Cc: Sonic Zhang > Reviewed-by: Masahiro Yamada > Reviewed-by: Sonic Zhang Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: