3 include $(TOPDIR
)/rules.mk
6 PKG_NAME
:=hostap-driver
9 PKG_MD5SUM
:=ee495686cf27011b4e401963c2c7f62a
11 PKG_SOURCE_URL
:=http
://hostap.epitest.fi
/releases
/
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,KMOD_HOSTAP
,kmod-hostap
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
))))
21 $(eval
$(call PKG_template
,KMOD_HOSTAP_PCI
,kmod-hostap-pci
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
))))
22 $(eval
$(call PKG_template
,KMOD_HOSTAP_PLX
,kmod-hostap-plx
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel
($(LINUX_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
))))
24 $(PKG_BUILD_DIR
)/.configured
:
27 $(PKG_BUILD_DIR
)/.built
:
28 $(MAKE
) -C
$(LINUX_DIR
)/ \
29 ARCH
="$(LINUX_KARCH)" \
30 CROSS_COMPILE
="$(TARGET_CROSS)" \
31 SUBDIRS
="$(PKG_BUILD_DIR)/driver/modules" \
36 install -m0755
-d
$(IDIR_KMOD_HOSTAP
)/lib
/modules
/$(LINUX_VERSION
)
38 $(PKG_BUILD_DIR
)/driver
/modules
/hostap.
$(LINUX_KMOD_SUFFIX
) \
39 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_ccmp.
$(LINUX_KMOD_SUFFIX
) \
40 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_tkip.
$(LINUX_KMOD_SUFFIX
) \
41 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_crypt_wep.
$(LINUX_KMOD_SUFFIX
) \
42 $(IDIR_KMOD_HOSTAP
)/lib
/modules
/$(LINUX_VERSION
)/
43 $(IPKG_BUILD
) $(IDIR_KMOD_HOSTAP
) $(PACKAGE_DIR
)
45 $(IPKG_KMOD_HOSTAP_PCI
):
46 install -m0755
-d
$(IDIR_KMOD_HOSTAP_PCI
)/lib
/modules
/$(LINUX_VERSION
)
48 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_pci.
$(LINUX_KMOD_SUFFIX
) \
49 $(IDIR_KMOD_HOSTAP_PCI
)/lib
/modules
/$(LINUX_VERSION
)/
50 $(IPKG_BUILD
) $(IDIR_KMOD_HOSTAP_PCI
) $(PACKAGE_DIR
)
52 $(IPKG_KMOD_HOSTAP_PLX
):
53 install -m0755
-d
$(IDIR_KMOD_HOSTAP_PLX
)/lib
/modules
/$(LINUX_VERSION
)
55 $(PKG_BUILD_DIR
)/driver
/modules
/hostap_plx.
$(LINUX_KMOD_SUFFIX
) \
56 $(IDIR_KMOD_HOSTAP_PLX
)/lib
/modules
/$(LINUX_VERSION
)/
57 $(IPKG_BUILD
) $(IDIR_KMOD_HOSTAP_PLX
) $(PACKAGE_DIR
)