You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/09/27 16:29:16 UTC

[incubator-nuttx] 01/02: arch: risc-v: Fix license information to use the OpenSBI

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

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

commit 0cd896b1d56ee8cedbe0ddd10be89298482ce9c3
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Tue Sep 27 17:58:04 2022 +0900

    arch: risc-v: Fix license information to use the OpenSBI
    
    Summary:
    - I noticed that the OpenSBI library depends on the BSD license
    - This commit fixes this issue
    
    Impact:
    - CONFIG_OPENSBI=y only
    
    Testing:
    - Build with icicle:opensbi (will be updated later)
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 arch/risc-v/src/opensbi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/risc-v/src/opensbi/Kconfig b/arch/risc-v/src/opensbi/Kconfig
index 455ba46529..3dfb563a17 100644
--- a/arch/risc-v/src/opensbi/Kconfig
+++ b/arch/risc-v/src/opensbi/Kconfig
@@ -5,7 +5,7 @@
 
 config OPENSBI
 	bool "OpenSBI support"
-	depends on ARCH_RISCV
+	depends on ARCH_RISCV && ALLOW_BSD_COMPONENTS
 	default n
 	---help---
 		Enable or disable Open Source Supervisor Binary Interface (OpenSBI) features