mirror of https://github.com/thesofproject/sof.git
topology: fix setting mux uuid in m4
Currently the mux/demux uuid setting doesn't work and uuid is always set to "demux". Fix this by quoting the ifelse in 1 line. Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
This commit is contained in:
parent
6d75984f7b
commit
589055d38a
|
@ -43,9 +43,7 @@ define(`W_MUXDEMUX',
|
||||||
`SectionVendorTuples."'N_MUXDEMUX($1)`_tuples_uuid" {'
|
`SectionVendorTuples."'N_MUXDEMUX($1)`_tuples_uuid" {'
|
||||||
` tokens "sof_comp_tokens"'
|
` tokens "sof_comp_tokens"'
|
||||||
` tuples."uuid" {'
|
` tuples."uuid" {'
|
||||||
ifelse(`$2', `0',
|
`ifelse(`$2', `0',` SOF_TKN_COMP_UUID' STR(mux_uuid),` SOF_TKN_COMP_UUID' STR(demux_uuid))'
|
||||||
` SOF_TKN_COMP_UUID' STR(mux_uuid),
|
|
||||||
` SOF_TKN_COMP_UUID' STR(demux_uuid))
|
|
||||||
` }'
|
` }'
|
||||||
`}'
|
`}'
|
||||||
`SectionData."'N_MUXDEMUX($1)`_data_uuid" {'
|
`SectionData."'N_MUXDEMUX($1)`_data_uuid" {'
|
||||||
|
|
Loading…
Reference in New Issue