Kconfig: add NuttX License setup

This commit will add License setup as a barrier for non Apache/BSD/MIT
code.

NOTE: When this option is enabled components with GPL 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-16 09:22:38 +02:00 committed by Xiang Xiao
parent dc7b9b8dbb
commit b0c860ea9b
1 changed files with 13 additions and 0 deletions

13
Kconfig
View File

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