diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2009-05-14 19:02:10 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2009-05-14 19:02:10 +0000 |
commit | 394a26da9423da5cbbab33c7c5e791933331cede (patch) | |
tree | 93273273efb0060cfb7e06c908be18a21342922c /package/kernel/modules | |
parent | 73cfaa0f2b495f93eea9e2e93c3f3ca0529cf99e (diff) | |
download | mtk-20170518-394a26da9423da5cbbab33c7c5e791933331cede.zip mtk-20170518-394a26da9423da5cbbab33c7c5e791933331cede.tar.gz mtk-20170518-394a26da9423da5cbbab33c7c5e791933331cede.tar.bz2 |
orinoco is only one module with kernel 2.6.30
SVN-Revision: 15852
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/wireless.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/kernel/modules/wireless.mk b/package/kernel/modules/wireless.mk index 79ab723..cca2d9e 100644 --- a/package/kernel/modules/wireless.mk +++ b/package/kernel/modules/wireless.mk @@ -162,6 +162,11 @@ define KernelPackage/net-hermes DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT KCONFIG:=CONFIG_HERMES \ CONFIG_HERMES_CACHE_FW_ON_INIT=n +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1) + FILES:= \ + $(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)orinoco.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,orinoco) +else ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1) FILES:= \ $(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)hermes.$(LINUX_KMOD_SUFFIX) \ @@ -174,6 +179,7 @@ else $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,hermes orinoco) endif +endif endef define KernelPackage/net-hermes/description |