94d462331c
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
690 B
Makefile
27 lines
690 B
Makefile
#############################################################
|
|
#
|
|
# libnfc
|
|
#
|
|
#############################################################
|
|
LIBNFC_VERSION = 1446
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/svn/trunk/
|
|
LIBNFC_SITE_METHOD = svn
|
|
LIBNFC_LICENSE = LGPLv3+
|
|
LIBNFC_LICENSE_FILES = COPYING
|
|
LIBNFC_AUTORECONF = YES
|
|
LIBNFC_INSTALL_STAGING = YES
|
|
|
|
LIBNFC_DEPENDENCIES = host-pkg-config libusb libusb-compat
|
|
|
|
# N.B. The acr122 driver requires pcsc-lite.
|
|
LIBNFC_CONF_OPT = --with-drivers=arygon,pn53x_usb
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
|
|
LIBNFC_CONF_OPT += --enable-example
|
|
LIBNFC_DEPENDENCIES += readline
|
|
else
|
|
LIBNFC_CONF_OPT += --disable-example
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|