c8c2954649
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
733 B
Makefile
24 lines
733 B
Makefile
################################################################################
|
||
#
|
||
# reaver
|
||
#
|
||
################################################################################
|
||
|
||
# Older repos for this project will not cross-compile easily
|
||
# while this one works right away
|
||
REAVER_VERSION = v1.6.5
|
||
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
|
||
|
||
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
|
||
|
||
$(eval $(autotools-package))
|