From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bk0-f44.google.com ([209.85.214.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SA4yE-0000Ew-3H for ptxdist@pengutronix.de; Tue, 20 Mar 2012 20:43:51 +0100 Received: by bkuw5 with SMTP id w5so384780bku.31 for ; Tue, 20 Mar 2012 12:43:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <201203201009.43430.jbe@pengutronix.de> References: <1332187070-7282-1-git-send-email-linux@bohmer.net> <20120320084339.GJ20481@pengutronix.de> <7397e853a04b4f647c9c73debb3830ea@bwalle.de> <201203201009.43430.jbe@pengutronix.de> Date: Tue, 20 Mar 2012 20:43:44 +0100 Message-ID: From: Remy Bohmer 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Bernhard Walle Hi, 2012/3/20 Juergen Beisert : > 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 =A0 =A0:=3D GPL v2 > > =A0FLASHBENCH_CONF_TOOL =A0 :=3D NO > =A0FLASHBENCH_MAKE_ENV =A0 =A0:=3D $(CROSS_ENV) > -FLASHBENCH_MAKE_OPT =A0 =A0:=3D CC=3D$(CROSS_CC) \ > +FLASHBENCH_MAKE_OPT =A0 =A0=3D CC=3D$(CROSS_CC) \ > =A0 =A0 =A0 =A0EXTRA_CFLAGS=3D-DMAX_BUFSIZE=3D$(shell expr 1024 \* 1024 \= * $(PTXCONF_FLASHBENCH_MAX_BUFSIZE)) This works fine here as well. Kind regards, Remy -- = ptxdist mailing list ptxdist@pengutronix.de