2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-08-02 22:25:04 +02:00
|
|
|
#
|
|
|
|
# iw
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-08-02 22:25:04 +02:00
|
|
|
|
2016-06-03 03:10:33 +02:00
|
|
|
IW_VERSION = 4.7
|
2013-09-06 08:14:15 +02:00
|
|
|
IW_SOURCE = iw-$(IW_VERSION).tar.xz
|
2013-02-06 04:36:56 +01:00
|
|
|
IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw
|
2016-07-04 14:46:24 +02:00
|
|
|
IW_LICENSE = ISC
|
2012-09-12 01:24:05 +02:00
|
|
|
IW_LICENSE_FILES = COPYING
|
2012-10-22 17:47:52 +02:00
|
|
|
IW_DEPENDENCIES = host-pkgconf libnl
|
2014-09-27 21:32:38 +02:00
|
|
|
IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"
|
2012-10-22 17:47:55 +02:00
|
|
|
IW_MAKE_ENV = PKG_CONFIG="$(HOST_DIR)/usr/bin/pkg-config" \
|
2009-08-02 22:25:04 +02:00
|
|
|
GIT_DIR=$(IW_DIR)
|
|
|
|
|
2010-07-26 22:54:52 +02:00
|
|
|
define IW_BUILD_CMDS
|
2014-09-27 21:32:38 +02:00
|
|
|
$(IW_MAKE_ENV) $(MAKE) $(IW_MAKE_OPTS) -C $(@D)
|
2010-07-26 22:54:52 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define IW_INSTALL_TARGET_CMDS
|
|
|
|
$(IW_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|