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:
parent
14499e3b7e
commit
67b2519a7d
@ -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
30
sys/Kconfig.newlib
Normal 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.
|
Loading…
Reference in New Issue
Block a user