Kconfig: add NuttX License setup for BSD components

This commit will add a build option to enable BSD code in License setup.

NOTE: When this option is enabled components with BSD licenses can be
added to the build. Please make sure that the licenses match your
project.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-08-19 21:02:15 +02:00 committed by Xiang Xiao
parent c7a2da8acf
commit bed0f50182

10
Kconfig
View file

@ -10,6 +10,16 @@ config APPSDIR
option env="APPSDIR"
menu "License Setup"
config ALLOW_BSD_COMPONENTS
bool "Use components that have BSD licenses"
default n
---help---
When this option is enabled the project will allow the use
of components that have BSD licenses.
NOTE: Please check that the license for each enabled
component matches your project license.
config ALLOW_GPL_COMPONENTS
bool "Use components that have GPL/LGPL licenses"
default n