diff options
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 06f1f78..1f61da8 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 |