canutils: libcanutils: add GPL build barrier

Exclude libcanutils from build unless the license is set to
allow GPL code in the build.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-08-17 15:01:32 +02:00 committed by Gustavo Henrique Nihei
parent 23e0325698
commit 1c3d08a738

View File

@ -6,7 +6,7 @@
config CANUTILS_LIBCANUTILS
bool "CAN-utils support library"
default n
depends on NET_CAN
depends on NET_CAN && ALLOW_GPL_COMPONENTS
---help---
Enable the CAN-utils support library ported from
https://github.com/linux-can/can-utils