From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Fri, 7 Dec 2018 13:37:34 -0200 Subject: [U-Boot] [PATCH] Enable expression support for CONFIG_BOARD_SIZE_LIMIT In-Reply-To: <20181207152127.923192400DF@gemini.denx.de> References: <20181204154035.16299-1-wd@denx.de> <20181205095202.027A5242268@gemini.denx.de> <20181206142315.53AF6242268@gemini.denx.de> <20181207152127.923192400DF@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On Fri, Dec 7, 2018 at 1:21 PM Wolfgang Denk 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 Thanks