3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=c6775ca98721affeb336392def22289e
10 PKG_SOURCE_URL
:=http
://hostap.epitest.fi
/releases
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,HOSTAP_UTILS
,hostap-utils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 $(TARGET_CONFIGURE_OPTS
) \
27 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -Wall" \
32 install -m0755
-d
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
33 install -m0755
$(PKG_BUILD_DIR
)/hostap_crypt_conf
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
34 install -m0755
$(PKG_BUILD_DIR
)/hostap_diag
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
35 install -m0755
$(PKG_BUILD_DIR
)/hostap_io_debug
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
36 install -m0755
$(PKG_BUILD_DIR
)/hostap_rid
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
37 install -m0755
$(PKG_BUILD_DIR
)/prism2_srec
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
38 install -m0755
$(PKG_BUILD_DIR
)/split_combined_hex
$(IDIR_HOSTAP_UTILS
)/usr
/sbin
/
39 $(RSTRIP
) $(IDIR_HOSTAP_UTILS
)
40 $(IPKG_BUILD
) $(IDIR_HOSTAP_UTILS
) $(PACKAGE_DIR
)
43 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
44 rm -f
$(PKG_BUILD_DIR
)/.built