Hi Bernhard, Bernhard Walle wrote: > * Juergen Beisert <j...@pengutronix.de> [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. [jb@isonoe]> ptxdist --version 2012.03.0-00045-gbea40f0 [jb@isonoe]> ptxdist go expr: syntax error make: Nothing to be done for `world'. Now with the change above: [jb@isonoe]> ptxdist go make: Nothing to be done for `world'. all tests with a disabled 'flashbench' in the menu. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de