commit | 32aaca8df29343e1992e15ae0716b8ebccb93059 | [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 | c24cbc23ea63b914d5bf7a8cfc4fc036a84fa3ac [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>