aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/block.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-18 12:28:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-18 12:28:38 +0000
commitc6eb15e481a066451adbad5137e017bb3f6c64de (patch)
treee654d64992582dda9d38ce98a7f230c0e3424561 /package/kernel/modules/block.mk
parentb97528d98e074f062c63cbcf09065e81ed133cce (diff)
downloadupstream-c6eb15e481a066451adbad5137e017bb3f6c64de.tar.gz
upstream-c6eb15e481a066451adbad5137e017bb3f6c64de.tar.bz2
upstream-c6eb15e481a066451adbad5137e017bb3f6c64de.zip
Improved autorebuild for kernel related stuff.
- make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/block.mk')
-rw-r--r--package/kernel/modules/block.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index a6df0fc662..b9f4c0dbd4 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,7 @@ 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))