commit | 67b060b46b117375b489de2112c90c456552b654 | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Thu Jul 24 12:44:25 2014 +1200 |
committer | Tom Rini <trini@ti.com> | Sat Aug 09 11:17:02 2014 -0400 |
tree | f09b7fae98928df6a2b1f36826a289de5ff7e7cd | |
parent | ded2e20ef281e5ff7921fbb3b74113ea33e8e309 [diff] |
Makefile: use $(shell ...) for determining file_size 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@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@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>