A recent bugfix introduced a new problem with Kconfig dependencies:
WARNING: unmet direct dependencies detected for CAN_DEV
Depends on [n]: NETDEVICES [=n] && CAN [=m]
Selected by [m]:
- CAN [=m] && NET [=y]
Since the CAN core code now links into the CAN device code, that
particular function needs to be available, though the rest of it
does not.
Revert the incomplete fix and instead use Makefile logic to avoid
the link failure.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| bittiming.c | ||
| calc_bittiming.c | ||
| dev.c | ||
| length.c | ||
| netlink.c | ||
| rx-offload.c | ||
| skb.c | ||