My CCMP25-DVK build (bitbake dey-image-webkit) failed due to optee-os-stm32mp recipe. The error message:
core/drivers/clk/clk-stm32mp25.c:3891:49: error: 'CLK_IS_CRITICAL_TDCID' undeclared here (not in a function)
3891 | static RIF_GATE(ck_icn_p_rtc_am, &ck_icn_p_rtc, CLK_IS_CRITICAL_TDCID,
| ^~~~~~~~~~~~~~~~~~~~~
core/drivers/clk/clk-stm32mp25.c:3659:27: note: in definition of macro 'RIF_GATE'
3659 | .flags = (_flags),\
| ^~~~~~
I was able to resolve this by reverting a recent commit:
Only tested this on my personal build which has local.conf changes and proprietary recipes, but I believe it affects all users based on the error message. I do not have any custom optee changes.
Assuming others can reproduce the failure, Digi may want to fix this in their repos. Customers will need to pin an older version or maintain a patch in their custom layer to fix this unless resolved upstream.
Apologies if this is the wrong place to report, lmk if a GitHub Issue is more appropriate.