[Buildroot] [PATCH 1/1] package/gr-osmosdr: add support for HACKRF receivers

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Feb 23 22:33:31 UTC 2023


Hello Martin,

On Thu, 23 Feb 2023 21:18:17 +0100
Martin Böh via buildroot <buildroot at buildroot.org> wrote:

> +config BR2_PACKAGE_GR_OSMOSDR_HACKRF
> +	bool "Osmocom HACKRF support"
> +	depends on BR2_PACKAGE_HACKRF

We would normally use a select BR2_PACKAGE_HACKRF here, which means you
have to replicate the depends on from hackrf:

        depends on !BR2_STATIC_LIBS # hackrf
        depends on BR2_TOOLCHAIN_HAS_THREADS # hackrf
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hackrf

and the corresponding Config.in comment:

comment "hackrf support needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
        depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list