[PATCH next] phy: google: fix build dependency for Google Tensor USB PHY
André Draszik
andre.draszik at linaro.org
Wed Jan 28 11:57:09 PST 2026
Hi Roy,
On Mon, 2026-01-26 at 18:34 -0800, Roy Luo wrote:
> the wrong example. Let's look at this build error scenario with
> "depends on TYPEC || COMPILE_TEST":
> Given COMPILE_TEST=y and CONFIG_TYPEC=m, the
> "depends on" would be evaluated as max(y,m) = y.
> Hence, CONFIG_PHY_GOOGLE_USB is allowed to be
> set to y, m or n. When it's set to y, the exact build error
> would be introduced. I also tested this locally and saw
> the build error.
Thanks for trying Roy. In that case, it should be written as
depends on TYPEC || (TYPEC=n && COMPILE_TEST)
Cheers,
Andre'
More information about the linux-arm-kernel
mailing list