From 9917b37c1c0c1be0561ec60503b8a15eb5f8263f Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Tue, 15 Jun 2021 11:43:35 +0200 Subject: [PATCH] cpu/native: Add native mtd kconfig dep --- cpu/native/Kconfig | 1 + cpu/native/mtd/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 cpu/native/mtd/Kconfig diff --git a/cpu/native/Kconfig b/cpu/native/Kconfig index 32866d92fb..2250080b7e 100644 --- a/cpu/native/Kconfig +++ b/cpu/native/Kconfig @@ -88,4 +88,5 @@ rsource "backtrace/Kconfig" endmenu # Native modules +rsource "mtd/Kconfig" rsource "periph/Kconfig" diff --git a/cpu/native/mtd/Kconfig b/cpu/native/mtd/Kconfig new file mode 100644 index 0000000000..a97959fb3e --- /dev/null +++ b/cpu/native/mtd/Kconfig @@ -0,0 +1,12 @@ +# 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_MTD_NATIVE + bool + default y if MODULE_MTD + depends on NATIVE_OS_LINUX + depends on TEST_KCONFIG