Kconfig: Add ALLOW_CUSTOM_PERMISSIVE_COMPONENTS option

Add a new license configuration option for components that have
custom permissive licenses which are not covered by the standard
license options (BSD, MIT, GPL, etc.).

This option allows projects to explicitly opt-in to using components
with custom permissive licenses that allow free use, modification,
and distribution but may have specific attribution or notice
requirements.

Also update the License Setup documentation section to include
this new option.

Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
makejian
2026-01-19 20:40:07 +08:00
committed by archer
parent 63e59e26c0
commit 60b1cef84b
2 changed files with 35 additions and 0 deletions
+16
View File
@@ -97,6 +97,22 @@ config ALLOW_ICS_COMPONENTS
NOTE: Please check that the license for each enabled
component matches your project license.
config ALLOW_CUSTOM_PERMISSIVE_COMPONENTS
bool "Use components that have custom permissive licenses"
default n
---help---
When this option is enabled the project will allow the use
of components that have custom permissive licenses which
are not covered by the standard license options above.
This includes components with custom permissive licenses
that allow free use, modification, and distribution but
may have specific attribution or notice requirements.
NOTE: Please carefully review the license terms for each
enabled component to ensure compliance with your project
requirements.
endmenu # License Setup
menu "Build Setup"