Skip to content

Commit

Permalink
canutils: change dependency from GPL to BSD
Browse files Browse the repository at this point in the history
socketCAN utils are dual licence, there is no point in using
GPL licence when we can use BSD.

Also change `select CANUTILS_LIBCANUTILS` to `depends on CANUTILS_LIBCANUTILS`.
We can't `select` that option when `ALLOW_BSD_COMPONENTS` is not set.
  • Loading branch information
raiden00pl authored and xiaoxiang781216 committed Oct 27, 2024
1 parent 8b15b26 commit 71d26a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions canutils/candump/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
config CANUTILS_CANDUMP
tristate "SocketCAN candump tool"
default n
depends on NET_CAN
select CANUTILS_LIBCANUTILS
depends on NET_CAN && CANUTILS_LIBCANUTILS
---help---
Enable the SocketCAN candump tool ported from
https://github.com/linux-can/can-utils
Expand Down
3 changes: 1 addition & 2 deletions canutils/cansend/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
config CANUTILS_CANSEND
tristate "SocketCAN cansend tool"
default n
depends on NET_CAN
select CANUTILS_LIBCANUTILS
depends on NET_CAN && CANUTILS_LIBCANUTILS
---help---
Enable the SocketCAN cansend tool ported from
https://github.com/linux-can/can-utils
Expand Down
2 changes: 1 addition & 1 deletion canutils/libcanutils/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
config CANUTILS_LIBCANUTILS
bool "CAN-utils support library"
default n
depends on NET_CAN && ALLOW_GPL_COMPONENTS
depends on NET_CAN && ALLOW_BSD_COMPONENTS
---help---
Enable the CAN-utils support library ported from
https://github.com/linux-can/can-utils
Expand Down

0 comments on commit 71d26a5

Please sign in to comment.