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/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c393416580 libs/libxx: uClibc depends on CONFIG_ALLOW_GPL_COMPONENTS=y
c393416580 is described below

commit c39341658000bba7a927dd920fa90cbaff475750
Author: raiden00pl <raide...@railab.me>
AuthorDate: Tue Oct 15 15:10:40 2024 +0200

    libs/libxx: uClibc depends on CONFIG_ALLOW_GPL_COMPONENTS=y
    
    uClibc is LGPL so it should depends on CONFIG_ALLOW_GPL_COMPONENTS=y
---
 boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig | 1 +
 boards/sim/sim/sim/configs/cxxtest/defconfig                | 1 +
 libs/libxx/Kconfig                                          | 1 +
 3 files changed, 3 insertions(+)

diff --git a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig 
b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig
index 3f574c4418..9784e9650a 100644
--- a/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig
+++ b/boards/arm/stm32/stm32f4discovery/configs/cxxtest/defconfig
@@ -6,6 +6,7 @@
 # modifications.
 #
 # CONFIG_ARCH_FPU is not set
+CONFIG_ALLOW_GPL_COMPONENTS=y
 CONFIG_ARCH="arm"
 CONFIG_ARCH_BOARD="stm32f4discovery"
 CONFIG_ARCH_BOARD_STM32F4_DISCOVERY=y
diff --git a/boards/sim/sim/sim/configs/cxxtest/defconfig 
b/boards/sim/sim/sim/configs/cxxtest/defconfig
index 3ddc6cfe57..bb343f7578 100644
--- a/boards/sim/sim/sim/configs/cxxtest/defconfig
+++ b/boards/sim/sim/sim/configs/cxxtest/defconfig
@@ -5,6 +5,7 @@
 # You can then do "make savedefconfig" to generate a new defconfig file that 
includes your
 # modifications.
 #
+CONFIG_ALLOW_GPL_COMPONENTS=y
 CONFIG_ARCH="sim"
 CONFIG_ARCH_BOARD="sim"
 CONFIG_ARCH_BOARD_SIM=y
diff --git a/libs/libxx/Kconfig b/libs/libxx/Kconfig
index 988554da75..35017bcffb 100644
--- a/libs/libxx/Kconfig
+++ b/libs/libxx/Kconfig
@@ -53,6 +53,7 @@ config LIBCXX
 config UCLIBCXX
        bool "uClibc++ Standard C++ Library"
        select HAVE_CXXINITIALIZE
+       depends on ALLOW_GPL_COMPONENTS
        ---help---
                uClibc++ C++ library
                https://cxx.uclibc.org/

Reply via email to