summaryrefslogtreecommitdiff
path: root/src/app/mpu9250_motionlog/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/mpu9250_motionlog/Makefile.inc')
-rw-r--r--src/app/mpu9250_motionlog/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/mpu9250_motionlog/Makefile.inc b/src/app/mpu9250_motionlog/Makefile.inc
index 5da92be..ed959ca 100644
--- a/src/app/mpu9250_motionlog/Makefile.inc
+++ b/src/app/mpu9250_motionlog/Makefile.inc
@@ -1,2 +1,4 @@
-arch_drivers += ,i2c
-override drivers += ,mpu9250
+ifdef app
+ override arch_drivers += ,i2c
+ override drivers += ,mpu9250
+endif