[U-Boot] [PATCH] ARM S3C2410 add new board GEC2410

Scott Wood scottwood at freescale.com
Fri Oct 30 00:58:19 CET 2009


On Thu, Oct 29, 2009 at 09:05:59PM +0800, Hui.Tang wrote:
> +# PAD_TO used to generate a 4kByte binary needed for the combined image
> +# -> PAD_TO = TEXT_BASE + 4096
> +PAD_TO	:= $(shell expr $$[$(TEXT_BASE) + 4096])

Wasn't there a thread about this construct causing problems in certain
environments?  It looks like a bashism, and a deprecated (according to the
man page) and redundant (you're already using expr) one at that.

Does $(shell expr $(TEXT_BASE) + 4096) work?

-Scott


More information about the U-Boot mailing list