diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-05 18:01:55 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-05 18:01:55 +0000 |
commit | 96e8c6f0fd37561e9e6cf3ca6207da011240239f (patch) | |
tree | 18580a4c265c84976c86b13fd85217f83219b23c /package/kernel/modules | |
parent | 43a20aa4c66e576bfd2399ef5a86767f589a7a4e (diff) | |
download | mtk-20170518-96e8c6f0fd37561e9e6cf3ca6207da011240239f.zip mtk-20170518-96e8c6f0fd37561e9e6cf3ca6207da011240239f.tar.gz mtk-20170518-96e8c6f0fd37561e9e6cf3ca6207da011240239f.tar.bz2 |
package/kernel: don't allow to select NAND modules for kernels <3.0
SVN-Revision: 30828
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/other.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 612603b..de26398 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -823,6 +823,7 @@ $(eval $(call KernelPackage,mtdtests)) define KernelPackage/nand SUBMENU:=$(OTHER_MENU) TITLE:=NAND flash support + DEPENDS:=@!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) KCONFIG:=CONFIG_MTD_NAND \ CONFIG_MTD_NAND_IDS \ CONFIG_MTD_NAND_ECC @@ -843,7 +844,7 @@ $(eval $(call KernelPackage,nand)) define KernelPackage/nandsim SUBMENU:=$(OTHER_MENU) TITLE:=NAND simulator - DEPENDS:=+kmod-nand + DEPENDS:=@!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) +kmod-nand KCONFIG:=CONFIG_MTD_NAND_NANDSIM FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko endef |