diff --git a/cpu/native/Kconfig b/cpu/native/Kconfig index e45e0cbaf0..4e9365a899 100644 --- a/cpu/native/Kconfig +++ b/cpu/native/Kconfig @@ -90,3 +90,4 @@ rsource "backtrace/Kconfig" endmenu # Native modules rsource "periph/Kconfig" +rsource "vfs/Kconfig" diff --git a/cpu/native/vfs/Kconfig b/cpu/native/vfs/Kconfig new file mode 100644 index 0000000000..d493aaa2a5 --- /dev/null +++ b/cpu/native/vfs/Kconfig @@ -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 diff --git a/sys/Kconfig b/sys/Kconfig index 4ca64424ec..4548ca4a56 100644 --- a/sys/Kconfig +++ b/sys/Kconfig @@ -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" diff --git a/sys/vfs/Kconfig b/sys/vfs/Kconfig new file mode 100644 index 0000000000..d22284d828 --- /dev/null +++ b/sys/vfs/Kconfig @@ -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 diff --git a/tests/vfs_plus_stdio/app.config.test b/tests/vfs_plus_stdio/app.config.test new file mode 100644 index 0000000000..5a93753419 --- /dev/null +++ b/tests/vfs_plus_stdio/app.config.test @@ -0,0 +1,2 @@ +CONFIG_MODULE_FMT=y +CONFIG_MODULE_VFS=y