diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-10-24 21:14:16 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-02-16 20:06:51 +0100 |
commit | b10d6044599d8c1fa7fbb2374bcbf30118d39db1 (patch) | |
tree | 3fc84f92c14dfa7178487b71e1b8d63c2b688439 /package/kernel/linux/modules/block.mk | |
parent | 299b8554183791b325e393c880d32360d7d72f73 (diff) | |
download | upstream-b10d6044599d8c1fa7fbb2374bcbf30118d39db1.tar.gz upstream-b10d6044599d8c1fa7fbb2374bcbf30118d39db1.tar.bz2 upstream-b10d6044599d8c1fa7fbb2374bcbf30118d39db1.zip |
kernel: add linux 5.10 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/linux/modules/block.mk')
-rw-r--r-- | package/kernel/linux/modules/block.mk | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index 373c9fbaab..b7767b3d16 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -537,16 +537,24 @@ endef $(eval $(call KernelPackage,scsi-generic)) +define KernelPackage/cdrom + TITLE:=Kernel library module for CD / DVD drives + KCONFIG:=CONFIG_CDROM + HIDDEN:=1 + FILES:=$(LINUX_DIR)/drivers/cdrom/cdrom.ko +endef + +$(eval $(call KernelPackage,cdrom)) + + define KernelPackage/scsi-cdrom SUBMENU:=$(BLOCK_MENU) TITLE:=Kernel support for CD / DVD drives - DEPENDS:=+kmod-scsi-core + DEPENDS:=+kmod-scsi-core +kmod-cdrom KCONFIG:= \ CONFIG_BLK_DEV_SR \ CONFIG_BLK_DEV_SR_VENDOR=n - FILES:= \ - $(LINUX_DIR)/drivers/cdrom/cdrom.ko \ - $(LINUX_DIR)/drivers/scsi/sr_mod.ko + FILES:=$(LINUX_DIR)/drivers/scsi/sr_mod.ko AUTOLOAD:=$(call AutoLoad,45,sr_mod) endef |