mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
050ee2f16e
Currently the IIO callback buffer implementation is directly built into the IIO core module when enabled. Given that the callback buffer module is standalone functionallity there is really no reason to do this. So move it to its own module. Also rename the source to follow the standard IIO module naming convention as well as add a license notice to the file. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
30 lines
730 B
Makefile
30 lines
730 B
Makefile
#
|
|
# Makefile for the industrial I/O core.
|
|
#
|
|
|
|
obj-$(CONFIG_IIO) += industrialio.o
|
|
industrialio-y := industrialio-core.o industrialio-event.o inkern.o
|
|
industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
|
|
industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
|
|
|
|
obj-$(CONFIG_IIO_BUFFER_CB) += industrialio-buffer-cb.o
|
|
obj-$(CONFIG_IIO_TRIGGERED_BUFFER) += industrialio-triggered-buffer.o
|
|
obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o
|
|
|
|
obj-y += accel/
|
|
obj-y += adc/
|
|
obj-y += amplifiers/
|
|
obj-y += common/
|
|
obj-y += dac/
|
|
obj-y += gyro/
|
|
obj-y += frequency/
|
|
obj-y += humidity/
|
|
obj-y += imu/
|
|
obj-y += light/
|
|
obj-y += magnetometer/
|
|
obj-y += orientation/
|
|
obj-y += pressure/
|
|
obj-y += proximity/
|
|
obj-y += temperature/
|
|
obj-y += trigger/
|