diff --git a/sys/Kconfig b/sys/Kconfig index b152c32314..24c1cc7f9f 100644 --- a/sys/Kconfig +++ b/sys/Kconfig @@ -85,6 +85,7 @@ rsource "oneway-malloc/Kconfig" rsource "phydat/Kconfig" rsource "pm_layered/Kconfig" rsource "posix/Kconfig" +rsource "preprocessor/Kconfig" rsource "progress_bar/Kconfig" rsource "ps/Kconfig" rsource "random/Kconfig" diff --git a/sys/auto_init/Kconfig b/sys/auto_init/Kconfig index 84fec8188d..b0a7cfb0c9 100644 --- a/sys/auto_init/Kconfig +++ b/sys/auto_init/Kconfig @@ -9,6 +9,7 @@ menuconfig MODULE_AUTO_INIT bool "Auto-initialization system" default y depends on TEST_KCONFIG + select MODULE_PREPROCESSOR_SUCCESSOR help Auto-initialization module. Can be used to initialize modules (such as drivers, or network interfaces) on start-up automatically. Disable if a diff --git a/sys/preprocessor/Kconfig b/sys/preprocessor/Kconfig new file mode 100644 index 0000000000..364fe051e8 --- /dev/null +++ b/sys/preprocessor/Kconfig @@ -0,0 +1,15 @@ +# Copyright (c) 2022 Otto-von-Guericke-Universität Magdeburg +# +# 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_PREPROCESSOR + bool "Preprocessor utilities" + depends on TEST_KCONFIG + +config MODULE_PREPROCESSOR_SUCCESSOR + bool "Generate preprocessor_successor.h to do preprocessor based successor arithmetic" + depends on TEST_KCONFIG + select MODULE_PREPROCESSOR