2014-09-24 08:08:28 +02:00
|
|
|
################################################################################
|
2014-07-01 23:00:25 +02:00
|
|
|
#
|
|
|
|
# librtlsdr
|
|
|
|
#
|
2014-09-24 08:08:28 +02:00
|
|
|
################################################################################
|
2014-07-01 23:00:25 +02:00
|
|
|
|
|
|
|
LIBRTLSDR_VERSION = v0.5.3
|
|
|
|
LIBRTLSDR_SITE = $(call github,steve-m,librtlsdr,$(LIBRTLSDR_VERSION))
|
|
|
|
LIBRTLSDR_LICENSE = GPLv2+
|
|
|
|
LIBRTLSDR_LICENSE_FILES = COPYING
|
|
|
|
LIBRTLSDR_INSTALL_STAGING = YES
|
|
|
|
LIBRTLSDR_DEPENDENCIES = libusb
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBRTLSDR_CONF_OPTS += -DINSTALL_UDEV_RULES=ON
|
2014-07-01 23:00:25 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBRTLSDR_CONF_OPTS += -DDETACH_KERNEL_DRIVER=1
|
2014-07-01 23:00:25 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|