diff options
Diffstat (limited to 'drivers/misc/inv_mpu/mpu6050/Makefile')
-rw-r--r-- | drivers/misc/inv_mpu/mpu6050/Makefile | 18 |
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 | |||
6 | obj-$(CONFIG_MPU_SENSORS_MPU6050B1) += mpu6050b1.o | ||
7 | |||
8 | ccflags-y := -DMPU_CURRENT_BUILD_MPU6050B1 | ||
9 | |||
10 | mpu6050b1-objs += mldl_cfg.o | ||
11 | mpu6050b1-objs += mldl_print_cfg.o | ||
12 | mpu6050b1-objs += mlsl-kernel.o | ||
13 | mpu6050b1-objs += mpu-dev.o | ||
14 | mpu6050b1-objs += ../accel/mpu6050.o | ||
15 | |||
16 | EXTRA_CFLAGS += -Idrivers/misc/inv_mpu | ||
17 | EXTRA_CFLAGS += -D__C99_DESIGNATED_INITIALIZER | ||
18 | EXTRA_CFLAGS += -DINV_CACHE_DMP=1 | ||