kernel: add industrialio-triggered-buffer.ko only when the config option is selected.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38276
This commit is contained in:
Hauke Mehrtens 2013-10-01 22:40:32 +00:00
parent 20513fedf2
commit c57ac5fcb7

View file

@ -205,7 +205,7 @@ define KernelPackage/iio-core
CONFIG_IIO_TRIGGERED_BUFFER
FILES:= \
$(LINUX_DIR)/drivers/iio/industrialio.ko \
$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko \
$(if $(CONFIG_IIO_TRIGGERED_BUFFER),$(LINUX_DIR)/drivers/iio/industrialio-triggered-buffer.ko) \
$(LINUX_DIR)/drivers/iio/kfifo_buf.ko
AUTOLOAD:=$(call AutoLoad,55,industrialio kfifo_buf industrialio-triggered-buffer)
endef