From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Tue, 20 Mar 2012 20:35:19 +0100 From: Bernhard Walle Message-ID: <20120320193519.GA29830@regiomontanus.bwalle.de> References: <1332187070-7282-1-git-send-email-linux@bohmer.net> <201203201009.43430.jbe@pengutronix.de> <20120320190252.GA22458@regiomontanus.bwalle.de> <201203202028.39620.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201203202028.39620.jbe@pengutronix.de> Subject: Re: [ptxdist] [PATCH] [flashbench] Fix syntax error in case FLASHBENCH_MAX_BUFSIZE not defined Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Beisert Cc: ptxdist@pengutronix.de Hi Juergen, * Juergen Beisert [2012-03-20 20:28]: > Bernhard Walle wrote: > > * Juergen Beisert [2012-03-20 10:09]: > > > Just delay the evaluation of the expression to the point of time when it > > > is really required. > > > > > > diff --git a/rules/flashbench.make b/rules/flashbench.make > > > index fcb669e..0ef52d1 100644 > > > --- a/rules/flashbench.make > > > +++ b/rules/flashbench.make > > > @@ -31,7 +31,7 @@ FLASHBENCH_LICENSE := GPL v2 > > > > > > FLASHBENCH_CONF_TOOL := NO > > > FLASHBENCH_MAKE_ENV := $(CROSS_ENV) > > > -FLASHBENCH_MAKE_OPT := CC=$(CROSS_CC) \ > > > +FLASHBENCH_MAKE_OPT = CC=$(CROSS_CC) \ > > > EXTRA_CFLAGS=-DMAX_BUFSIZE=$(shell expr 1024 \* 1024 \* $(PTXCONF_FLASHBENCH_MAX_BUFSIZE)) > > > > Did you try it out? It doesn't work here. > > Yes I did. Sorry, I had the old (unpatched) flashbench.make in the rules directory of the project... Will send a patch that uses '=' instead of ':=' which is ready to be applied. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de