[U-Boot] [PATCH v2] Makefile: use $(shell ...) for determining file_size

Simon Glass sjg at chromium.org
Fri Jul 25 16:28:55 CEST 2014


On 24 July 2014 01:44, Chris Packham <judge.packham at gmail.com> 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>

Thanks for joining these.

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list