mirror of https://github.com/thesofproject/sof.git
topology: invoke with m4 --fatal-warnings
As seen in PR #2954, no one ever notices m4 warnings. As PR #2954 will remove sof-tgl-rt711-i2s-rt1308-nohdmi.conf and the only m4 warning currently, this is a great opportunity to upgrade m4 warnings to errors. Note neither Travis nor github have the concept of a "warning", they can only report success or failure. This fix can be considered part of the "green failures" family. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
96623e6038
commit
d4e508cf86
|
@ -154,7 +154,7 @@ foreach(tplg ${TPLGS})
|
|||
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${output}.conf
|
||||
COMMAND m4
|
||||
COMMAND m4 --fatal-warnings
|
||||
${DEFINES}
|
||||
-I ${CMAKE_CURRENT_SOURCE_DIR}/m4
|
||||
-I ${CMAKE_CURRENT_SOURCE_DIR}/common
|
||||
|
|
Loading…
Reference in New Issue