diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-02-16 18:28:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-02-16 18:28:59 +0000 |
commit | e9d9efa6788d2d600260af74b67129438f37a800 (patch) | |
tree | 388f1fa9bb325e6a9bbd6fbac897097e038161d7 /package/kernel | |
parent | 19d6a9ce6ab828e63a00b4564d577a153b7743fa (diff) | |
download | upstream-e9d9efa6788d2d600260af74b67129438f37a800.tar.gz upstream-e9d9efa6788d2d600260af74b67129438f37a800.tar.bz2 upstream-e9d9efa6788d2d600260af74b67129438f37a800.zip |
kernel: build the scsi core package even if CONFIG_SCSI=y
SVN-Revision: 19666
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/block.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk index 63791cf32e..1e6c1f2d4a 100644 --- a/package/kernel/modules/block.mk +++ b/package/kernel/modules/block.mk @@ -321,7 +321,7 @@ define KernelPackage/scsi-core CONFIG_SCSI \ CONFIG_BLK_DEV_SD FILES:= \ - $(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \ + $(if $(findstring y,$(CONFIG_SCSI)),,$(LINUX_DIR)/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX)) \ $(LINUX_DIR)/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,scsi_mod) $(call AutoLoad,40,sd_mod) endef |