mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-04 10:41:05 +02:00
add checks for the kernel config when building hostap for linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4751 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7588a35055
commit
8f6ae33da8
@ -96,20 +96,25 @@ ifeq ($(KERNEL),2.6)
|
|||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_HOSTAP),m)
|
||||||
define Package/kmod-hostap/install
|
define Package/kmod-hostap/install
|
||||||
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap.$(LINUX_KMOD_SUFFIX) \
|
$(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap.$(LINUX_KMOD_SUFFIX) \
|
||||||
$(1)/lib/modules/$(LINUX_VERSION)/
|
$(1)/lib/modules/$(LINUX_VERSION)/
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_HOSTAP_PCI),m)
|
||||||
define Package/kmod-hostap-pci/install
|
define Package/kmod-hostap-pci/install
|
||||||
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap_pci.$(LINUX_KMOD_SUFFIX) \
|
$(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap_pci.$(LINUX_KMOD_SUFFIX) \
|
||||||
$(1)/lib/modules/$(LINUX_VERSION)/
|
$(1)/lib/modules/$(LINUX_VERSION)/
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_HOSTAP_PLX),m)
|
||||||
define Package/kmod-hostap-plx/install
|
define Package/kmod-hostap-plx/install
|
||||||
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
|
||||||
$(CP) \
|
$(CP) \
|
||||||
@ -117,6 +122,7 @@ ifeq ($(KERNEL),2.6)
|
|||||||
$(1)/lib/modules/$(LINUX_VERSION)/
|
$(1)/lib/modules/$(LINUX_VERSION)/
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call BuildPackage,kmod-hostap))
|
$(eval $(call BuildPackage,kmod-hostap))
|
||||||
$(eval $(call BuildPackage,kmod-hostap-pci))
|
$(eval $(call BuildPackage,kmod-hostap-pci))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user