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
master
Hauke Mehrtens 11 years ago
parent 20513fedf2
commit c57ac5fcb7
  1. 2
      package/kernel/linux/modules/other.mk

@ -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

Loading…
Cancel
Save