You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/08/20 08:46:05 UTC

[incubator-nuttx] 02/02: Kconfig: add NuttX License setup for BSD components

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit bed0f501821d8c63866428d8f7fa86cf1f5a45a5
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Thu Aug 19 21:02:15 2021 +0200

    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 <al...@sony.com>
---
 Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Kconfig b/Kconfig
index 8d980a2..e4cfc6b 100644
--- a/Kconfig
+++ b/Kconfig
@@ -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