From 3a66ae51c3f34108428e582ef693866d71496d16 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:25:37 +0200 Subject: Expose configuration via Kconfig --- src/app/countertest/Kconfig | 2 ++ src/app/countertest/Makefile.inc | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/app/countertest/Kconfig (limited to 'src/app/countertest') diff --git a/src/app/countertest/Kconfig b/src/app/countertest/Kconfig new file mode 100644 index 0000000..141c3f6 --- /dev/null +++ b/src/app/countertest/Kconfig @@ -0,0 +1,2 @@ +prompt "Cycle Counter Test" +depends on meta_driver_counter && loop && !wakeup diff --git a/src/app/countertest/Makefile.inc b/src/app/countertest/Makefile.inc index f8a5514..0bf380e 100644 --- a/src/app/countertest/Makefile.inc +++ b/src/app/countertest/Makefile.inc @@ -1,2 +1,4 @@ -loop ?= 1 -override arch_drivers += ,counter +ifdef app + override loop = 1 + override arch_drivers += ,counter +endif -- cgit v1.2.3