X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=package%2Fhostap%2FMakefile;h=90281fe6b592682352663d2d2cde209ffa541e16;hp=b653b14550293eebaf714118f5f3467f94664048;hb=8f6ae33da8081909c28a5d9524f31dacfe028ec6;hpb=7588a35055989f6f3cddb77447d8192216b68a0b diff --git a/package/hostap/Makefile b/package/hostap/Makefile index b653b1455..90281fe6b 100644 --- a/package/hostap/Makefile +++ b/package/hostap/Makefile @@ -96,20 +96,25 @@ ifeq ($(KERNEL),2.6) define Build/Compile endef +ifeq ($(CONFIG_HOSTAP),m) define Package/kmod-hostap/install install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) $(CP) \ $(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap.$(LINUX_KMOD_SUFFIX) \ $(1)/lib/modules/$(LINUX_VERSION)/ endef +endif +ifeq ($(CONFIG_HOSTAP_PCI),m) define Package/kmod-hostap-pci/install install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) $(CP) \ $(MODULES_DIR)/kernel/drivers/net/wireless/hostap/hostap_pci.$(LINUX_KMOD_SUFFIX) \ $(1)/lib/modules/$(LINUX_VERSION)/ endef +endif +ifeq ($(CONFIG_HOSTAP_PLX),m) define Package/kmod-hostap-plx/install install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) $(CP) \ @@ -117,6 +122,7 @@ ifeq ($(KERNEL),2.6) $(1)/lib/modules/$(LINUX_VERSION)/ endef endif +endif $(eval $(call BuildPackage,kmod-hostap)) $(eval $(call BuildPackage,kmod-hostap-pci))