aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/bno055/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/bno055/Makefile')
-rw-r--r--drivers/iio/imu/bno055/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/imu/bno055/Makefile b/drivers/iio/imu/bno055/Makefile
index ef9219563782..98c624730dae 100644
--- a/drivers/iio/imu/bno055/Makefile
+++ b/drivers/iio/imu/bno055/Makefile
@@ -6,3 +6,5 @@ bno055_ser-y := bno055_ser_core.o
# define_trace.h needs to know how to find our header
CFLAGS_bno055_ser_trace.o := -I$(src)
bno055_ser-$(CONFIG_TRACING) += bno055_ser_trace.o
+
+obj-$(CONFIG_BOSCH_BNO055_I2C) += bno055_i2c.o