974db34bae
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
730 B
Makefile
27 lines
730 B
Makefile
################################################################################
|
|
#
|
|
# hackrf
|
|
#
|
|
################################################################################
|
|
|
|
HACKRF_VERSION = 2018.01.1
|
|
HACKRF_SITE = https://github.com/mossmann/hackrf/releases/download/v$(HACKRF_VERSION)
|
|
HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz
|
|
HACKRF_LICENSE = GPL-2.0+ BSD-3c
|
|
HACKRF_LICENSE_FILES = COPYING
|
|
HACKRF_DEPENDENCIES = fftw-single libusb
|
|
HACKRF_SUBDIR = host
|
|
HACKRF_INSTALL_STAGING = YES
|
|
|
|
HACKRF_CONF_OPTS += -DBUILD_HACKRF_TOOLS=ON
|
|
|
|
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))
|