[U-Boot] [U-Boot, v2] Makefile: use $(shell ...) for determining file_size
Tom Rini
trini at ti.com
Mon Aug 11 00:21:58 CEST 2014
On Thu, Jul 24, 2014 at 12:44:25PM +1200, Chris Packham wrote:
> file_size was being calculated using back-ticks but map_size uses
> $(shell ...). Update the file_size calculation to use $(shell ...).
>
> From: Jeroen Hofstee <jeroen at myspectrum.nl>
>
> The binary_size_check target relies on stat -c %s
> to return the size of u-boot.bin. This only works
> with GNU stat though. Use wc instead.
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20140810/373ea3b9/attachment.pgp>
More information about the U-Boot
mailing list