aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-01-14 22:51:30 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-01-14 22:51:30 +0000
commitbf662d7cb09d02094c99f4cbfab19a8eed6d0dfc (patch)
tree293df9a5edb22318823155ef39b8b6e289369b49 /package/kernel/linux
parent4ae2d6f2936295caa3f51b8a918a8baee5d9975f (diff)
downloadupstream-bf662d7cb09d02094c99f4cbfab19a8eed6d0dfc.tar.gz
upstream-bf662d7cb09d02094c99f4cbfab19a8eed6d0dfc.tar.bz2
upstream-bf662d7cb09d02094c99f4cbfab19a8eed6d0dfc.zip
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> SVN-Revision: 39289
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netdevices.mk2
-rw-r--r--package/kernel/linux/modules/usb.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index dca6f588d3..5bb1416a83 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -500,7 +500,7 @@ $(eval $(call KernelPackage,pcnet32))
define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet
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)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,19,tg3,1)
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index f1f1057d41..5d26190eb3 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -189,7 +189,7 @@ $(eval $(call KernelPackage,usb2))
define KernelPackage/usb2-pci
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
FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)