summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/bno055/Makefile
blob: 98c624730dae4a99a5eadb6affde0a025eb30057 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_BOSCH_BNO055) += bno055.o
obj-$(CONFIG_BOSCH_BNO055_SERIAL) += bno055_ser.o
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