diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-01 22:40:32 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-10-01 22:40:32 +0000 |
commit | 50e46e058a3e37a0e98af18d0102036ed80802b5 (patch) | |
tree | d1f627ddfcf7a91fe402ab595e738cc70088de5b /package | |
parent | b80baca15ad74fdd1ddfcf65f6fd0beaa8da3b67 (diff) | |
download | master-187ad058-50e46e058a3e37a0e98af18d0102036ed80802b5.tar.gz master-187ad058-50e46e058a3e37a0e98af18d0102036ed80802b5.tar.bz2 master-187ad058-50e46e058a3e37a0e98af18d0102036ed80802b5.zip |
kernel: add industrialio-triggered-buffer.ko only when the config option is selected.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38276 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/other.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 7fcd1056c3..65f2975a2b 100644 --- a/package/kernel/linux/modules/other.mk +++ b/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 |