aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/inv_mpu/mpu6050/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/inv_mpu/mpu6050/Makefile')
-rw-r--r--drivers/misc/inv_mpu/mpu6050/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/misc/inv_mpu/mpu6050/Makefile b/drivers/misc/inv_mpu/mpu6050/Makefile
new file mode 100644
index 00000000000..a93aa97a699
--- /dev/null
+++ b/drivers/misc/inv_mpu/mpu6050/Makefile
@@ -0,0 +1,18 @@
1
2# Kernel makefile for motions sensors
3#
4#
5
6obj-$(CONFIG_MPU_SENSORS_MPU6050B1) += mpu6050b1.o
7
8ccflags-y := -DMPU_CURRENT_BUILD_MPU6050B1
9
10mpu6050b1-objs += mldl_cfg.o
11mpu6050b1-objs += mldl_print_cfg.o
12mpu6050b1-objs += mlsl-kernel.o
13mpu6050b1-objs += mpu-dev.o
14mpu6050b1-objs += ../accel/mpu6050.o
15
16EXTRA_CFLAGS += -Idrivers/misc/inv_mpu
17EXTRA_CFLAGS += -D__C99_DESIGNATED_INITIALIZER
18EXTRA_CFLAGS += -DINV_CACHE_DMP=1