2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2010-07-22 23:04:50 +08:00
|
|
|
#
|
|
|
|
# wireless_tools
|
|
|
|
#
|
2013-06-06 07:53:30 +08:00
|
|
|
################################################################################
|
2010-07-22 23:04:50 +08:00
|
|
|
|
2014-06-11 21:31:28 +08:00
|
|
|
WIRELESS_TOOLS_VERSION_MAJOR = 30
|
|
|
|
WIRELESS_TOOLS_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR).pre9
|
2018-08-19 21:46:56 +08:00
|
|
|
WIRELESS_TOOLS_SITE = https://hewlettpackard.github.io/wireless-tools
|
2010-07-22 23:04:50 +08:00
|
|
|
WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
|
2017-03-30 21:43:32 +08:00
|
|
|
WIRELESS_TOOLS_LICENSE = GPL-2.0
|
2012-09-12 07:26:57 +08:00
|
|
|
WIRELESS_TOOLS_LICENSE_FILES = COPYING
|
2020-12-04 23:46:01 +08:00
|
|
|
WIRELESS_TOOLS_CPE_ID_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR)
|
|
|
|
WIRELESS_TOOLS_CPE_ID_VERSION_MINOR = pre9
|
2010-11-08 03:25:39 +08:00
|
|
|
WIRELESS_TOOLS_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
|
|
|
|
WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
|
2015-03-31 15:21:57 +08:00
|
|
|
WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
|
|
|
|
WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
|
2010-11-08 03:25:39 +08:00
|
|
|
|
|
|
|
define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
|
2016-10-14 06:13:16 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true \
|
2016-07-04 17:07:56 +08:00
|
|
|
install-dynamic
|
2016-10-14 06:13:16 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
|
2010-11-08 03:25:39 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
endif
|
2010-07-22 23:04:50 +08:00
|
|
|
|
|
|
|
define WIRELESS_TOOLS_BUILD_CMDS
|
2016-10-14 06:13:16 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
2010-11-08 03:25:39 +08:00
|
|
|
$(WIRELESS_TOOLS_BUILD_TARGETS)
|
2010-07-22 23:04:50 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
|
2016-10-14 06:13:16 +08:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true \
|
2016-07-04 17:07:56 +08:00
|
|
|
$(WIRELESS_TOOLS_INSTALL_TARGETS)
|
2010-07-22 23:04:50 +08:00
|
|
|
endef
|
|
|
|
|
2012-07-03 06:07:32 +08:00
|
|
|
$(eval $(generic-package))
|