]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: use $(shell ...) for determining file_size
authorChris Packham <judge.packham@gmail.com>
Thu, 24 Jul 2014 00:44:25 +0000 (12:44 +1200)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:02 +0000 (11:17 -0400)
commit67b060b46b117375b489de2112c90c456552b654
treef09b7fae98928df6a2b1f36826a289de5ff7e7cd
parentded2e20ef281e5ff7921fbb3b74113ea33e8e309
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>
Makefile