2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-07-22 17:04:50 +02:00
|
|
|
#
|
|
|
|
# wireless_tools
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-07-22 17:04:50 +02:00
|
|
|
|
|
|
|
WIRELESS_TOOLS_VERSION = 29
|
|
|
|
WIRELESS_TOOLS_SITE = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
|
|
|
|
WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
|
2012-09-12 01:26:57 +02:00
|
|
|
WIRELESS_TOOLS_LICENSE = GPLv2
|
|
|
|
WIRELESS_TOOLS_LICENSE_FILES = COPYING
|
2010-11-07 20:25:39 +01:00
|
|
|
WIRELESS_TOOLS_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
|
|
|
|
WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
|
|
|
|
WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION)
|
|
|
|
WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
|
|
|
|
|
|
|
|
define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
|
2013-01-20 07:52:04 +01:00
|
|
|
$(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true install-dynamic
|
2010-11-07 20:25:39 +01:00
|
|
|
$(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
|
|
|
|
endef
|
|
|
|
|
|
|
|
endif
|
2010-07-22 17:04:50 +02:00
|
|
|
|
|
|
|
define WIRELESS_TOOLS_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
2010-11-07 20:25:39 +01:00
|
|
|
$(WIRELESS_TOOLS_BUILD_TARGETS)
|
2010-07-22 17:04:50 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
|
2013-01-20 07:52:04 +01:00
|
|
|
$(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true $(WIRELESS_TOOLS_INSTALL_TARGETS)
|
2010-07-22 17:04:50 +02:00
|
|
|
$(MAKE) -C $(@D) INSTALL_MAN="$(TARGET_DIR)/usr/share/man" install-man
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|