The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / wireless_tools / wireless_tools.mk
1 ################################################################################
2 #
3 # wireless_tools
4 #
5 ################################################################################
6
7 WIRELESS_TOOLS_VERSION_MAJOR = 30
8 WIRELESS_TOOLS_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR).pre9
9 WIRELESS_TOOLS_SITE = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
10 WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
11 WIRELESS_TOOLS_LICENSE = GPLv2
12 WIRELESS_TOOLS_LICENSE_FILES = COPYING
13 WIRELESS_TOOLS_INSTALL_STAGING = YES
14
15 WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
16 WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
17
18
19 ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
20 WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
21 WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
22
23 define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
24         $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true install-dynamic
25         $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
26 endef
27
28 endif
29
30 define WIRELESS_TOOLS_BUILD_CMDS
31         $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
32                 $(WIRELESS_TOOLS_BUILD_TARGETS)
33 endef
34
35 define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
36         $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true $(WIRELESS_TOOLS_INSTALL_TARGETS)
37         $(MAKE) -C $(@D) INSTALL_MAN="$(TARGET_DIR)/usr/share/man" install-man
38 endef
39
40 $(eval $(generic-package))