xref: /openbmc/linux/drivers/iio/imu/bno055/Makefile (revision 50fe984f)
1# SPDX-License-Identifier: GPL-2.0
2
3obj-$(CONFIG_BOSCH_BNO055) += bno055.o
4obj-$(CONFIG_BOSCH_BNO055_SERIAL) += bno055_ser.o
5bno055_ser-y := bno055_ser_core.o
6# define_trace.h needs to know how to find our header
7CFLAGS_bno055_ser_trace.o := -I$(src)
8bno055_ser-$(CONFIG_TRACING) += bno055_ser_trace.o
9
10obj-$(CONFIG_BOSCH_BNO055_I2C) += bno055_i2c.o
11