[Sound-open-firmware] [PATCH v2 2/5] topology: create m4 wrapper for Graph section

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Mar 5 17:02:03 CET 2018


On Sun, 2018-03-04 at 23:13 -0800, Ranjani Sridharan wrote:
> +define(`PIPELINEGRAPH', `pushdef(`i', $#)pushdef(`j', `1')PIPELINEGRAPH_LOOP($@)popdef(i)popdef(j)')
> +define(`PIPELINEGRAPH_LOOP',`argn(j,$@)
> +               ifelse(i,`1', `',`define(`i', decr(i))define(`j', incr(j))$0($@)')')

It looks like we can reuse the existing _LOOP macro for
PIPELINEGRAPH_LOOP.

Liam


More information about the Sound-open-firmware mailing list