2018-03-31 22:57:58 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# hackrf
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-02-22 10:49:16 +01:00
|
|
|
HACKRF_VERSION = 2023.01.1
|
2022-10-29 14:09:37 +02:00
|
|
|
HACKRF_SITE = https://github.com/greatscottgadgets/hackrf/releases/download/v$(HACKRF_VERSION)
|
2018-03-31 22:57:58 +02:00
|
|
|
HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz
|
2022-01-08 18:34:03 +01:00
|
|
|
HACKRF_LICENSE = GPL-2.0+, BSD-3-Clause
|
2018-03-31 22:57:58 +02:00
|
|
|
HACKRF_LICENSE_FILES = COPYING
|
2019-01-21 14:51:04 +01:00
|
|
|
HACKRF_DEPENDENCIES = fftw-single libusb
|
2018-03-31 22:57:58 +02:00
|
|
|
HACKRF_SUBDIR = host
|
|
|
|
HACKRF_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
HACKRF_CONF_OPTS += \
|
|
|
|
-DINSTALL_UDEV_RULES=ON \
|
|
|
|
-DUDEV_RULES_GROUP=plugdev
|
|
|
|
else
|
|
|
|
HACKRF_CONF_OPTS += -DINSTALL_UDEV_RULES=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|