Returns all whitespace-separated words in text that do match any of the pattern words, removing any words that do not match. The patterns are written using ‘%’, just like the patterns used in the patsubst function above."
It did seem to work in my testing (that is specifying -Pnocheck or -Pstage1 dtrt.)
Per https:/ /www.gnu. org/software/ make/manual/ html_node/ Text-Functions. html, it is allowed:
"$(filter pattern…,text)
Returns all whitespace- separated words in text that do match any of the pattern words, removing any words that do not match. The patterns are written using ‘%’, just like the patterns used in the patsubst function above."
It did seem to work in my testing (that is specifying -Pnocheck or -Pstage1 dtrt.)