2af75321d2
This reverts commita3365ebf72
, and marks kismet as not available for static builds. Commita3365ebf72
is indeed insufficient, since kismet uses <dlfcn.h> in two places, both in kismet_server and kismet_client. And it's fairly unlikely that kismet will be used in pure static environments, so let's not support this use case. Fixes: http://autobuild.buildroot.net/results/c24/c24e3e325df9748e9959fe79f7026d24f118dffd/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# kismet
|
|
#
|
|
################################################################################
|
|
|
|
KISMET_VERSION = Kismet-2014-02-R1
|
|
KISMET_SITE = http://www.kismetwireless.net/kismet.git
|
|
KISMET_SITE_METHOD = git
|
|
KISMET_DEPENDENCIES = host-pkgconf libpcap ncurses libnl
|
|
KISMET_CONF_OPTS += --with-netlink-version=3
|
|
KISMET_LICENSE = GPLv2+
|
|
KISMET_LICENSE_FILES = debian/copyright
|
|
|
|
# We touch configure.in:
|
|
KISMET_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
KISMET_DEPENDENCIES += pcre
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_CLIENT),y)
|
|
KISMET_TARGET_BINARIES += kismet_client
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_SERVER),y)
|
|
KISMET_TARGET_BINARIES += kismet_server
|
|
KISMET_TARGET_CONFIGS += kismet.conf
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_KISMET_DRONE),y)
|
|
KISMET_TARGET_BINARIES += kismet_drone
|
|
KISMET_TARGET_CONFIGS += kismet_drone.conf
|
|
endif
|
|
|
|
ifdef KISMET_TARGET_BINARIES
|
|
define KISMET_INSTALL_TARGET_BINARIES
|
|
$(INSTALL) -m 755 $(addprefix $(KISMET_DIR)/, $(KISMET_TARGET_BINARIES)) $(TARGET_DIR)/usr/bin
|
|
endef
|
|
endif
|
|
|
|
ifdef KISMET_TARGET_CONFIGS
|
|
define KISMET_INSTALL_TARGET_CONFIGS
|
|
$(INSTALL) -m 644 $(addprefix $(KISMET_DIR)/conf/, $(KISMET_TARGET_CONFIGS)) $(TARGET_DIR)/etc
|
|
endef
|
|
endif
|
|
|
|
define KISMET_INSTALL_TARGET_CMDS
|
|
$(KISMET_INSTALL_TARGET_BINARIES)
|
|
$(KISMET_INSTALL_TARGET_CONFIGS)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|