From: Scott Wood Date: Thu, 29 Oct 2009 18:58:19 -0500 Subject: [U-Boot] [PATCH] ARM S3C2410 add new board GEC2410 In-Reply-To: <1256821560-2848-1-git-send-email-zetalabs@gmail.com> References: <1256821560-2848-1-git-send-email-zetalabs@gmail.com> Message-ID: <20091029235819.GB28985@loki.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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