Microblaze: added architecture support for both big endian and low endian
[buildroot-gz.git] / package / wireless_tools / wireless_tools.mk
blobb05983983c2d7fffaaeebfc4800ca7207f16fdf1
1 #############################################################
3 # wireless_tools
5 #############################################################
7 WIRELESS_TOOLS_VERSION = 29
8 WIRELESS_TOOLS_SITE = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
9 WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
10 WIRELESS_TOOLS_INSTALL_STAGING = YES
12 WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
13 WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
16 ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
17 WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION)
18 WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
20 define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
21 $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" install-dynamic
22 $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
23 endef
25 endif
27 define WIRELESS_TOOLS_BUILD_CMDS
28 $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
29 $(WIRELESS_TOOLS_BUILD_TARGETS)
30 endef
32 define WIRELESS_TOOLS_CLEAN_CMDS
33 $(MAKE) -C $(@D) realclean
34 endef
36 define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
37 $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" $(WIRELESS_TOOLS_INSTALL_TARGETS)
38 $(MAKE) -C $(@D) INSTALL_MAN="$(TARGET_DIR)/usr/share/man" install-man
39 endef
41 define WIRELESS_TOOLS_UNINSTALL_TARGET_CMDS
42 $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" uninstall
43 endef
45 $(eval $(call GENTARGETS))