2018-04-12 13:44:33 +02:00
|
|
|
|
################################################################################
|
|
|
|
|
#
|
|
|
|
|
# reaver
|
|
|
|
|
#
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
# Older repos for this project will not cross-compile easily
|
|
|
|
|
# while this one works right away
|
2019-03-08 20:59:52 +01:00
|
|
|
|
REAVER_VERSION = v1.6.5
|
2018-04-12 13:44:33 +02:00
|
|
|
|
REAVER_SITE = $(call github,t6x,reaver-wps-fork-t6x,$(REAVER_VERSION))
|
|
|
|
|
REAVER_LICENSE = GPL-2.0+
|
|
|
|
|
REAVER_LICENSE_FILES = docs/LICENSE
|
|
|
|
|
|
|
|
|
|
REAVER_SUBDIR = src
|
|
|
|
|
REAVER_DEPENDENCIES = libpcap
|
|
|
|
|
|
2018-04-22 17:51:59 +02:00
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
|
REAVER_CONF_ENV += \
|
|
|
|
|
LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" \
|
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
|
|
|
|
|
endif
|
|
|
|
|
|
2018-04-12 13:44:33 +02:00
|
|
|
|
$(eval $(autotools-package))
|