diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2012-05-06 20:43:17 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2012-05-06 20:43:17 +0000 |
commit | 9897c4980309eb86e8519c5e88f4477bef46d467 (patch) | |
tree | af4cb7285e63bacc3e7c6c5ec03304776e39c05c /package/kernel/modules/other.mk | |
parent | 800e2f834503a6c2568c3fd4049f6489ffa4d03c (diff) | |
download | upstream-9897c4980309eb86e8519c5e88f4477bef46d467.tar.gz upstream-9897c4980309eb86e8519c5e88f4477bef46d467.tar.bz2 upstream-9897c4980309eb86e8519c5e88f4477bef46d467.zip |
kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r-- | package/kernel/modules/other.mk | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 06f1f78d3f..1f61da831a 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -142,7 +142,7 @@ $(eval $(call KernelPackage,eeprom-at25)) define KernelPackage/gpio-cs5535 SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver - DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37 + DEPENDS:=@TARGET_x86 @LINUX_2_6_37 KCONFIG:=CONFIG_CS5535_GPIO FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio) @@ -158,7 +158,7 @@ $(eval $(call KernelPackage,gpio-cs5535)) define KernelPackage/gpio-cs5535-new SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support - DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32) + DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd KCONFIG:=CONFIG_GPIO_CS5535 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1) FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko @@ -342,7 +342,7 @@ $(eval $(call KernelPackage,input-gpio-keys)) define KernelPackage/input-gpio-keys-polled SUBMENU:=$(OTHER_MENU) TITLE:=Polled GPIO key support - DEPENDS:=@GPIO_SUPPORT @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_34||LINUX_2_6_35||LINUX_2_6_36) +kmod-input-polldev + DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev KCONFIG:= \ CONFIG_KEYBOARD_GPIO_POLLED \ CONFIG_INPUT_KEYBOARD=y @@ -488,16 +488,9 @@ define KernelPackage/rfkill CONFIG_RFKILL \ CONFIG_RFKILL_INPUT=y \ CONFIG_RFKILL_LEDS=y -ifeq ($(CONFIG_LINUX_2_6_30),) FILES:= \ $(LINUX_DIR)/net/rfkill/rfkill.ko AUTOLOAD:=$(call AutoLoad,20,rfkill) -else - FILES:= \ - $(LINUX_DIR)/net/rfkill/rfkill.ko \ - $(LINUX_DIR)/net/rfkill/rfkill-input.ko - AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input) -endif $(call SetDepends/rfkill) endef @@ -768,7 +761,7 @@ $(eval $(call KernelPackage,pwm-gpio)) define KernelPackage/rtc-core-2.6 SUBMENU:=$(OTHER_MENU) - 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 + DEPENDS:=@(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) TITLE:=Real Time Clock class support KCONFIG:=CONFIG_RTC_CLASS FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko @@ -783,7 +776,7 @@ $(eval $(call KernelPackage,rtc-core-2.6)) define KernelPackage/rtc-core-3.x SUBMENU:=$(OTHER_MENU) - 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) + DEPENDS:=@!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) TITLE:=Real Time Clock class support KCONFIG:=CONFIG_RTC_CLASS=y endef @@ -883,7 +876,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) + DEPENDS:=@!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) KCONFIG:=CONFIG_MTD_NAND \ CONFIG_MTD_NAND_IDS \ CONFIG_MTD_NAND_ECC @@ -904,7 +897,7 @@ $(eval $(call KernelPackage,nand)) define KernelPackage/nandsim SUBMENU:=$(OTHER_MENU) TITLE:=NAND simulator - 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 + DEPENDS:=@!(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 |