On 20/05/2020 14:39, Heikki Krogerus wrote:
to do what you want to do - shouldn't we have to make all of those "select
USB_ROLE_SWITCH" into "depends on USB_ROLE_SWITCH" ?
i.e. make all of the consumers depends on instead of selects ?
Yes, ideally.
thanks,
I've built the offending x86 version, instead of my more contrived
version deselecting USB_ROLE_SWITCH from the chipidea
- select USB_ROLE_SWITCH
- select REGMAP_I2C
+ depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH
+ depends on REGMAP_I2C
works - we can look at the depends stuff for the consumers later, I'll
send the above now to fix the build.
---
bod