X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d475f2345cf3311b5eeab9602f13156f6f0469dd..8c5dc0c237dc43601a7cbfe6b8c6f2484f526d14:/package/kernel/modules/block.mk diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index a6df0fc66..52c528e3e 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -5,7 +5,7 @@ define KernelPackage/libata DESCRIPTION:=libata KCONFIG:=$(CONFIG_ATA) SUBMENU:=$(BLMENU) - FILES:=$(MODULES_DIR)/kernel/drivers/ata/libata.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/ata/libata.$(LINUX_KMOD_SUFFIX) endef $(eval $(call KernelPackage,libata)) @@ -15,7 +15,18 @@ define KernelPackage/ata-piix KCONFIG:=$(CONFIG_ATA_PIIX) SUBMENU:=$(BLMENU) AUTOLOAD:=$(call AutoLoad,30,scsi_mod libata sd_mod ata_piix) - FILES:=$(MODULES_DIR)/kernel/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.$(LINUX_KMOD_SUFFIX) DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core endef $(eval $(call KernelPackage,ata-piix)) + +define KernelPackage/pata-artop + TITLE:=pata-artop + DESCRIPTION:=Kernel module for ARTOP PATA controller + KCONFIG:=$(CONFIG_PATA_ARTOP) + SUBMENU:=$(BLMENU) + AUTOLOAD:=$(call AutoLoad,30,libata pata_artop) + FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.$(LINUX_KMOD_SUFFIX) + DEPENDS:=+kmod-libata +kmod-ide-core +kmod-scsi-core +endef +$(eval $(call KernelPackage,pata-artop))