summaryrefslogtreecommitdiff
path: root/src/app/i2cbench/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/i2cbench/Makefile.inc')
-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}