2012-05-02 09:40:02 +08:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libnfc
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
LIBNFC_VERSION = 1.5.1
|
|
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/files/
|
|
|
|
LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.gz
|
2012-06-10 17:43:43 +08:00
|
|
|
LIBNFC_AUTORECONF = YES
|
2012-05-02 09:40:02 +08:00
|
|
|
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
|
|
|
|
|
2012-06-10 17:43:43 +08:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBNFC_EXAMPLES),y)
|
|
|
|
LIBNFC_CONF_OPT += --enable-example
|
|
|
|
LIBNFC_DEPENDENCIES += readline
|
|
|
|
else
|
|
|
|
LIBNFC_CONF_OPT += --disable-example
|
|
|
|
endif
|
|
|
|
|
2012-05-02 09:40:02 +08:00
|
|
|
$(eval $(call AUTOTARGETS))
|