xref: /openbmc/linux/drivers/iio/imu/bno055/Makefile (revision 2eef5a9c)
14aefe1c2SAndrea Merello# SPDX-License-Identifier: GPL-2.0
24aefe1c2SAndrea Merello
34aefe1c2SAndrea Merelloobj-$(CONFIG_BOSCH_BNO055) += bno055.o
4*2eef5a9cSAndrea Merelloobj-$(CONFIG_BOSCH_BNO055_SERIAL) += bno055_ser.o
5*2eef5a9cSAndrea Merellobno055_ser-y := bno055_ser_core.o
6*2eef5a9cSAndrea Merello# define_trace.h needs to know how to find our header
7*2eef5a9cSAndrea MerelloCFLAGS_bno055_ser_trace.o := -I$(src)
8*2eef5a9cSAndrea Merellobno055_ser-$(CONFIG_TRACING) += bno055_ser_trace.o
9