[libcamera-devel] libcamera: ipa_module: Add BSD-2-Clause to open source license list

Message ID 20200323150915.967-1-naush@raspberrypi.com
State Superseded
Headers show
Series
  • [libcamera-devel] libcamera: ipa_module: Add BSD-2-Clause to open source license list
Related show

Commit Message

Naushir Patuck March 23, 2020, 3:09 p.m. UTC
IPAModule::isOpenSource() matches the license string advertised in
IPAModuleInfo with a static list of known open source licenses. Add
"BSD-Clause-2" to this list.

See https://opensource.org/licenses/BSD-2-Clause for further details.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
---
 src/libcamera/ipa_module.cpp | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp
index a01d0757..666986d0 100644
--- a/src/libcamera/ipa_module.cpp
+++ b/src/libcamera/ipa_module.cpp
@@ -482,6 +482,7 @@  bool IPAModule::isOpenSource() const
 		"LGPL-2.1-or-later",
 		"LGPL-3.0-only",
 		"LGPL-3.0-or-later",
+		"BSD-2-Clause",
 	};
 
 	for (unsigned int i = 0; i < ARRAY_SIZE(osLicenses); i++)