packages: kernel: negate kernel version checks

Only list the kernel versions that do not match so that new kernel
versions will automatically match. This improves support for kernel
3.18.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43132
This commit is contained in:
Hauke Mehrtens 2014-10-31 22:02:07 +00:00
parent 26e68b353f
commit 7996f0b313
4 changed files with 5 additions and 5 deletions

View file

@ -482,7 +482,7 @@ $(eval $(call KernelPackage,igb))
define KernelPackage/b44 define KernelPackage/b44
TITLE:=Broadcom 44xx driver TITLE:=Broadcom 44xx driver
KCONFIG:=CONFIG_B44 KCONFIG:=CONFIG_B44
DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +LINUX_3_14:kmod-libphy DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +(!LINUX_3_3&&!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13):kmod-libphy
SUBMENU:=$(NETWORK_DEVICES_MENU) SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
AUTOLOAD:=$(call AutoLoad,19,b44,1) AUTOLOAD:=$(call AutoLoad,19,b44,1)

View file

@ -13,7 +13,7 @@ WATCHDOG_DIR:=watchdog
define KernelPackage/6lowpan-iphc define KernelPackage/6lowpan-iphc
USBMENU:=$(OTHER_MENU) USBMENU:=$(OTHER_MENU)
TITLE:=6lowpan shared code TITLE:=6lowpan shared code
DEPENDS:=@LINUX_3_14 DEPENDS:=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_13
KCONFIG:=CONFIG_6LOWPAN_IPHC KCONFIG:=CONFIG_6LOWPAN_IPHC
HIDDEN:=1 HIDDEN:=1
FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan_iphc.ko FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan_iphc.ko
@ -29,7 +29,7 @@ $(eval $(call KernelPackage,6lowpan-iphc))
define KernelPackage/bluetooth define KernelPackage/bluetooth
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=Bluetooth support TITLE:=Bluetooth support
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +LINUX_3_14:kmod-6lowpan-iphc DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +(!LINUX_3_3&&!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13):kmod-6lowpan-iphc
KCONFIG:= \ KCONFIG:= \
CONFIG_BLUEZ \ CONFIG_BLUEZ \
CONFIG_BLUEZ_L2CAP \ CONFIG_BLUEZ_L2CAP \

View file

@ -1221,7 +1221,7 @@ define KernelPackage/usb-net-huawei-cdc-ncm
KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm) AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
$(call AddDepends/usb-net,+kmod-usb-wdm @(LINUX_3_13||LINUX_3_14)) $(call AddDepends/usb-net,+kmod-usb-wdm @!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10)
endef endef
define KernelPackage/usb-net-huawei-cdc-ncm/description define KernelPackage/usb-net-huawei-cdc-ncm/description

View file

@ -110,7 +110,7 @@ $(eval $(call KernelPackage,net-prism54))
define KernelPackage/net-rtl8188eu define KernelPackage/net-rtl8188eu
SUBMENU:=$(WIRELESS_MENU) SUBMENU:=$(WIRELESS_MENU)
TITLE:=RTL8188EU support (staging) TITLE:=RTL8188EU support (staging)
DEPENDS:=@LINUX_3_13||@LINUX_3_14 @USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware +kmod-usb-core DEPENDS:=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @USB_SUPPORT +@DRIVER_WEXT_SUPPORT +r8188eu-firmware +kmod-usb-core
KCONFIG:=\ KCONFIG:=\
CONFIG_STAGING=y \ CONFIG_STAGING=y \
CONFIG_R8188EU \ CONFIG_R8188EU \