e6ea6b7865
There is no benefit in using the shortened git revision hash. On the contrary: the shorter the hash, the higher the risk of having collisions with another commit. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
756 B
Makefile
28 lines
756 B
Makefile
################################################################################
|
|
#
|
|
# libnfc
|
|
#
|
|
################################################################################
|
|
|
|
LIBNFC_VERSION = fda8d60ce062409bb32c76a229f02f7502948ce8
|
|
LIBNFC_SITE = http://libnfc.googlecode.com/git/
|
|
LIBNFC_SITE_METHOD = git
|
|
LIBNFC_LICENSE = LGPLv3+
|
|
LIBNFC_LICENSE_FILES = COPYING
|
|
LIBNFC_AUTORECONF = YES
|
|
LIBNFC_INSTALL_STAGING = YES
|
|
|
|
LIBNFC_DEPENDENCIES = host-pkgconf 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))
|