[LEDE-DEV] [RFC 15/26] kernel: kmod-mmc: handle moved mmc_block.ko
Hauke Mehrtens
hauke at hauke-m.de
Sun Nov 26 03:45:13 PST 2017
mmc_block.ko was moved with kernel 4.10.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/other.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index b3ad4a051e..ef2740296a 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -317,7 +317,8 @@ define KernelPackage/mmc
CONFIG_SDIO_UART=n
FILES:= \
$(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
- $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
+ $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko at lt4.10 \
+ $(LINUX_DIR)/drivers/mmc/core/mmc_block.ko at ge4.10
AUTOLOAD:=$(call AutoProbe,mmc_core mmc_block,1)
endef
--
2.11.0
More information about the Lede-dev
mailing list