diff --git a/sys/auto_init/Kconfig b/sys/auto_init/Kconfig index 577d5f1909..3208d8da7e 100644 --- a/sys/auto_init/Kconfig +++ b/sys/auto_init/Kconfig @@ -13,3 +13,5 @@ config MODULE_AUTO_INIT Auto-initialization module. Can be used to initialize modules (such as drivers, or network interfaces) on start-up automatically. Disable if a more custom initialization is required. If unsure, say Y. + +rsource "multimedia/Kconfig" diff --git a/sys/auto_init/multimedia/Kconfig b/sys/auto_init/multimedia/Kconfig new file mode 100644 index 0000000000..18d9721c3e --- /dev/null +++ b/sys/auto_init/multimedia/Kconfig @@ -0,0 +1,17 @@ +# 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. +# + +config MODULE_AUTO_INIT_MULTIMEDIA + bool "Auto initialize multimedia subsystem" + depends on MODULE_AUTO_INIT + depends on TEST_KCONFIG + default y if HAVE_MULTIMEDIA_DEVICE + +config HAVE_MULTIMEDIA_DEVICE + bool + help + Indicates that a multimedia device driver is present.