1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-11 22:00:14 +02:00

[kernel] orinoco is only one module with kernel 2.6.30

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15852 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2009-05-14 19:02:10 +00:00
parent b94eefee0f
commit 2b9928c7ad

View File

@ -162,6 +162,11 @@ define KernelPackage/net-hermes
DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
KCONFIG:=CONFIG_HERMES \ KCONFIG:=CONFIG_HERMES \
CONFIG_HERMES_CACHE_FW_ON_INIT=n 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) ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)hermes.$(LINUX_KMOD_SUFFIX) \ $(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) $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,hermes orinoco) AUTOLOAD:=$(call AutoLoad,50,hermes orinoco)
endif endif
endif
endef endef
define KernelPackage/net-hermes/description define KernelPackage/net-hermes/description