From: Tom Rini Date: Sun, 10 Aug 2014 18:21:58 -0400 Subject: [U-Boot] [U-Boot, v2] Makefile: use $(shell ...) for determining file_size In-Reply-To: <1406162665-10345-1-git-send-email-judge.packham@gmail.com> References: <1406162665-10345-1-git-send-email-judge.packham@gmail.com> Message-ID: <20140810222158.GS19374@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > 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 > Acked-by: Simon Glass 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: