summaryrefslogtreecommitdiff
path: root/src/app/i2cbench
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
commit3a66ae51c3f34108428e582ef693866d71496d16 (patch)
tree6a8ab3774af1b1077720671a92f40a92d5425bcf /src/app/i2cbench
parente12d6d528705344628568000dc2fddb919457411 (diff)
Expose configuration via Kconfig
Diffstat (limited to 'src/app/i2cbench')
-rw-r--r--src/app/i2cbench/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/i2cbench/Makefile.inc b/src/app/i2cbench/Makefile.inc
index 15ce127..c5241fd 100644
--- a/src/app/i2cbench/Makefile.inc
+++ b/src/app/i2cbench/Makefile.inc
@@ -1,4 +1,6 @@
-arch_drivers += ,i2c
+ifdef app
+ override arch_drivers += ,i2c
+endif
ifneq (${i2cbench_setos}, )
COMMON_FLAGS += -DI2CBENCH_SETOS=${i2cbench_setos}