packages: kernel: reverse kernel dependencies logic

This will select the correct dependencies also for more recent kernel versions.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39289 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2014-01-14 22:51:30 +00:00
parent 3c2c7eca1e
commit 7e841ddd7c
2 changed files with 2 additions and 2 deletions

View File

@ -500,7 +500,7 @@ $(eval $(call KernelPackage,pcnet32))
define KernelPackage/tg3 define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet TITLE:=Broadcom Tigon3 Gigabit Ethernet
KCONFIG:=CONFIG_TIGON3 KCONFIG:=CONFIG_TIGON3
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(LINUX_3_8||LINUX_3_9||LINUX_3_10||LINUX_3_12):kmod-ptp DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_3_3:kmod-hwmon-core +(!LINUX_3_3&&!LINUX_3_6):kmod-ptp
SUBMENU:=$(NETWORK_DEVICES_MENU) SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,19,tg3,1) AUTOLOAD:=$(call AutoLoad,19,tg3,1)

View File

@ -189,7 +189,7 @@ $(eval $(call KernelPackage,usb2))
define KernelPackage/usb2-pci define KernelPackage/usb2-pci
TITLE:=Support for PCI USB2 controllers TITLE:=Support for PCI USB2 controllers
DEPENDS:=@PCI_SUPPORT @(LINUX_3_8||LINUX_3_9||LINUX_3_10) +kmod-usb2 DEPENDS:=@PCI_SUPPORT @(!LINUX_3_3&&!LINUX_3_6) +kmod-usb2
KCONFIG:=CONFIG_USB_EHCI_PCI KCONFIG:=CONFIG_USB_EHCI_PCI
FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1) AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)