source: freewrt/package/hostap-utils/Makefile@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= hostap-utils
10PKG_VERSION:= 0.4.7
11PKG_RELEASE:= 1
12PKG_MD5SUM:= afe041581b8f01666e353bec20917c85
13
14PKG_SOURCE_URL:= http://hostap.epitest.fi/releases/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,HOSTAP_UTILS,hostap-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 $(MAKE) -C $(WRKBUILD) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -Wall" \
28 all
29 touch $@
30
31$(IPKG_HOSTAP_UTILS):
32 install -m0755 -d $(IDIR_HOSTAP_UTILS)/usr/sbin
33 install -m0755 $(WRKBUILD)/hostap_crypt_conf $(IDIR_HOSTAP_UTILS)/usr/sbin/
34 install -m0755 $(WRKBUILD)/hostap_diag $(IDIR_HOSTAP_UTILS)/usr/sbin/
35 install -m0755 $(WRKBUILD)/hostap_io_debug $(IDIR_HOSTAP_UTILS)/usr/sbin/
36 install -m0755 $(WRKBUILD)/hostap_rid $(IDIR_HOSTAP_UTILS)/usr/sbin/
37 install -m0755 $(WRKBUILD)/prism2_srec $(IDIR_HOSTAP_UTILS)/usr/sbin/
38 install -m0755 $(WRKBUILD)/split_combined_hex $(IDIR_HOSTAP_UTILS)/usr/sbin/
39 $(RSTRIP) $(IDIR_HOSTAP_UTILS)
40 $(IPKG_BUILD) $(IDIR_HOSTAP_UTILS) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.