[U-Boot] [PATCH] Enable expression support for CONFIG_BOARD_SIZE_LIMIT

Fabio Estevam festevam at gmail.com
Fri Dec 7 15:37:34 UTC 2018


Hi Wolfgang,

On Fri, Dec 7, 2018 at 1:21 PM Wolfgang Denk <wd at denx.de> wrote:

> This should also work - replace the line
>
>         @(echo $$(($(CONFIG_BOARD_SIZE_LIMIT))); wc -c $@ ) | \
>
> by
>
>         @(awk "END { print $$(echo $(CONFIG_BOARD_SIZE_LIMIT)) }" /dev/null; wc -c $@ ) | \
>
>
> Can you please try this out?

I replaced it on the main Makefile and also in the imx one and it
works as expected now.

When you send the v2, you can add:

Tested-by: Fabio Estevam <festevam at gmail.com>

Thanks


More information about the U-Boot mailing list