package/hackrf: use the new fftw-single package
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Mon, 21 Jan 2019 13:51:04 +0000 (14:51 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 6 Feb 2019 09:14:46 +0000 (10:14 +0100)
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>
package/hackrf/Config.in
package/hackrf/hackrf.mk

index 4fa27699c48e9b4a040be01dcb055e8117739948..b86790f2b072753c561f7c0f0b9499d161ee5d48 100644 (file)
@@ -2,7 +2,8 @@ config BR2_PACKAGE_HACKRF
        bool "hackrf"
        depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS
-       depends on BR2_PACKAGE_FFTW_PRECISION_SINGLE
+       select BR2_PACKAGE_FFTW
+       select BR2_PACKAGE_FFTW_SINGLE
        select BR2_PACKAGE_LIBUSB
        help
          Library and tools for accessing HackRF SDR boards.
@@ -11,6 +12,3 @@ config BR2_PACKAGE_HACKRF
 
 comment "hackrf needs a toolchain w/ threads, dynamic library"
        depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
-
-comment "hackrf needs fftw's single precision"
-       depends on !BR2_PACKAGE_FFTW_PRECISION_SINGLE
index acab0be1d31c3028c35eeb944dd312391d0b4e74..b83f6518e86e6c88a6b22e2a3bbd3dc880940a8b 100644 (file)
@@ -9,7 +9,7 @@ HACKRF_SITE = https://github.com/mossmann/hackrf/releases/download/v$(HACKRF_VER
 HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz
 HACKRF_LICENSE = GPL-2.0+ BSD-3c
 HACKRF_LICENSE_FILES = COPYING
-HACKRF_DEPENDENCIES = fftw libusb
+HACKRF_DEPENDENCIES = fftw-single libusb
 HACKRF_SUBDIR = host
 HACKRF_INSTALL_STAGING = YES