xref: /openbmc/linux/drivers/iio/imu/bno055/Makefile (revision 50fe984f)
14aefe1c2SAndrea Merello# SPDX-License-Identifier: GPL-2.0
24aefe1c2SAndrea Merello
34aefe1c2SAndrea Merelloobj-$(CONFIG_BOSCH_BNO055) += bno055.o
42eef5a9cSAndrea Merelloobj-$(CONFIG_BOSCH_BNO055_SERIAL) += bno055_ser.o
52eef5a9cSAndrea Merellobno055_ser-y := bno055_ser_core.o
62eef5a9cSAndrea Merello# define_trace.h needs to know how to find our header
72eef5a9cSAndrea MerelloCFLAGS_bno055_ser_trace.o := -I$(src)
82eef5a9cSAndrea Merellobno055_ser-$(CONFIG_TRACING) += bno055_ser_trace.o
9*50fe984fSAndrea Merello
10*50fe984fSAndrea Merelloobj-$(CONFIG_BOSCH_BNO055_I2C) += bno055_i2c.o
11