From b0c860ea9b918932eba9ca4b5dcab8e7db84164b Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Mon, 16 Aug 2021 09:22:38 +0200 Subject: [PATCH] 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 --- Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Kconfig b/Kconfig index ae4491376c..8d980a26dd 100644 --- a/Kconfig +++ b/Kconfig @@ -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