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

Merge pull request #17287 from leandrolanzieri/pr/sys/vfs/model_kconfig

sys/vfs: model Kconfig
This commit is contained in:
Francisco 2021-12-03 09:11:57 +01:00 committed by GitHub
commit 1ec9bfdec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 0 deletions

View File

@ -90,3 +90,4 @@ rsource "backtrace/Kconfig"
endmenu # Native modules
rsource "periph/Kconfig"
rsource "vfs/Kconfig"

11
cpu/native/vfs/Kconfig Normal file
View File

@ -0,0 +1,11 @@
# Copyright (c) 2021 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.
#
config MODULE_NATIVE_VFS
bool
depends on HAS_ARCH_NATIVE
default y if MODULE_VFS

View File

@ -79,6 +79,7 @@ rsource "timex/Kconfig"
rsource "tsrb/Kconfig"
rsource "uri_parser/Kconfig"
rsource "usb/Kconfig"
rsource "vfs/Kconfig"
rsource "xtimer/Kconfig"
rsource "ztimer/Kconfig"

11
sys/vfs/Kconfig Normal file
View File

@ -0,0 +1,11 @@
# Copyright (c) 2021 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.
#
config MODULE_VFS
bool "Virtual File System (VFS)"
depends on TEST_KCONFIG
select MODULE_POSIX_HEADERS

View File

@ -0,0 +1,2 @@
CONFIG_MODULE_FMT=y
CONFIG_MODULE_VFS=y