1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys: add newlib modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-07-27 17:28:31 +02:00
parent 14499e3b7e
commit 67b2519a7d
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 31 additions and 0 deletions

View File

@ -8,6 +8,7 @@ menu "System"
rsource "auto_init/Kconfig"
rsource "net/Kconfig"
rsource "Kconfig.newlib"
rsource "usb/Kconfig"
config MOD_SYS

30
sys/Kconfig.newlib Normal file
View File

@ -0,0 +1,30 @@
# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MOD_NEWLIB
bool "NewLib"
depends on TEST_KCONFIG
if MOD_NEWLIB
config MOD_NEWLIB_NANO
bool "NewLib Nano"
config MOD_NEWLIB_GNU_SOURCE
bool "NewLib GNU source"
config MOD_NEWLIB_SYSCALLS_DEFAULT
bool "NewLib Syscalls default implementation"
default y
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
endif # MOD_NEWLIB
config HAVE_CUSTOM_NEWLIB_SYSCALLS
bool
help
Indicates that a custom newlib syscalls implementation is present.