[U-Boot] [PATCH] MAKEALL: display SPL size if present

Wolfgang Denk wd at denx.de
Sat Feb 11 22:20:11 CET 2012


Dear Scott Wood,

In message <20120105231610.GA10980 at schlenkerla.am.freescale.net> you wrote:
> This makes it easier to detect changes in the SPL portion,
> as can currently be done for the main U-Boot image.
> 
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
>  MAKEALL |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/MAKEALL b/MAKEALL
> index f735af6..395e982 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -508,6 +508,11 @@ build_target() {
>  
>  	${CROSS_COMPILE}size ${BUILD_DIR}/u-boot \
>  				| tee -a ${LOG_DIR}/$target.MAKELOG
> +
> +	if [ -e ${BUILD_DIR}/spl/u-boot-spl ]; then
> +		${CROSS_COMPILE}size ${BUILD_DIR}/spl/u-boot-spl \
> +					| tee -a ${LOG_DIR}/$target.MAKELOG
> +	fi

Can we please combine this into a single call to "size"?

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
...computer hardware progress is so fast. No other  technology  since
civilization  began  has seen six orders of magnitude in performance-
price gain in 30 years.                             - Fred Brooks, Jr.


More information about the U-Boot mailing list