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

2014-07-25 Thread Simon Glass
On 24 July 2014 01:44, Chris Packham judge.pack...@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 jer...@myspectrum.nl The binary_size_check target relies on stat -c

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

2014-07-23 Thread Chris Packham
file_size was being calculated using back-ticks but map_size uses $(shell ...). Update the file_size calculation to use $(shell ...). From: Jeroen Hofstee jer...@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