initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
config BR2_PACKAGE_GR_OSMOSDR
|
||||
bool "gr-osmosdr"
|
||||
depends on BR2_PACKAGE_GNURADIO
|
||||
select BR2_PACKAGE_GNURADIO_BLOCKS
|
||||
select BR2_PACKAGE_GNURADIO_FFT
|
||||
select BR2_PACKAGE_GNURADIO_FILTER
|
||||
help
|
||||
GNU Radio block for interfacing with various radio hardware
|
||||
|
||||
http://osmocom.org/projects/osmosdr
|
||||
|
||||
if BR2_PACKAGE_GR_OSMOSDR
|
||||
|
||||
config BR2_PACKAGE_GR_OSMOSDR_PYTHON
|
||||
bool "python support"
|
||||
depends on BR2_PACKAGE_GNURADIO_PYTHON
|
||||
depends on BR2_PACKAGE_PYTHON3
|
||||
help
|
||||
Enable Python support
|
||||
|
||||
config BR2_PACKAGE_GR_OSMOSDR_IQFILE
|
||||
bool "IQ File Source support"
|
||||
help
|
||||
Enable IQ File Source support
|
||||
|
||||
config BR2_PACKAGE_GR_OSMOSDR_RTLSDR
|
||||
bool "Osmocom RTLSDR support"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # librtlsdr -> libusb
|
||||
select BR2_PACKAGE_LIBRTLSDR
|
||||
help
|
||||
Enable Osmocom RTLSDR support
|
||||
|
||||
comment "Osmocom RTLSDR support needs a toolchain w/ gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_GR_OSMOSDR_RTLSDR_TCP
|
||||
bool "RTLSDR TCP Client support"
|
||||
help
|
||||
Enable RTLSDR TCP client support
|
||||
|
||||
config BR2_PACKAGE_GR_OSMOSDR_RFSPACE
|
||||
bool "RFSPACE Receivers support"
|
||||
help
|
||||
Enable RFSPACE Receivers support
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated:
|
||||
sha256 11b1eb13725ced5ded9121a10aaf7bccf2430c5c69d020791408219968665b71 gr-osmosdr-0.2.3.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
@@ -0,0 +1,57 @@
|
||||
################################################################################
|
||||
#
|
||||
# gr-osmosdr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GR_OSMOSDR_VERSION = 0.2.3
|
||||
GR_OSMOSDR_SITE = $(call github,osmocom,gr-osmosdr,v$(GR_OSMOSDR_VERSION))
|
||||
GR_OSMOSDR_LICENSE = GPL-3.0+
|
||||
GR_OSMOSDR_LICENSE_FILES = COPYING
|
||||
|
||||
# gr-osmosdr prevents doing an in-source-tree build
|
||||
GR_OSMOSDR_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
GR_OSMOSDR_DEPENDENCIES = gnuradio host-python3
|
||||
|
||||
GR_OSMOSDR_CONF_OPTS = \
|
||||
-DENABLE_DEFAULT=OFF \
|
||||
-DENABLE_DOXYGEN=OFF
|
||||
|
||||
# For third-party blocks, the gr-osmosdr libraries are mandatory at
|
||||
# compile time.
|
||||
GR_OSMOSDR_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_PYTHON),y)
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=ON
|
||||
GR_OSMOSDR_DEPENDENCIES += python3
|
||||
else
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_IQFILE),y)
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_FILE=ON
|
||||
else
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_FILE=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_RTLSDR),y)
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RTL=ON
|
||||
GR_OSMOSDR_DEPENDENCIES += librtlsdr
|
||||
else
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RTL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_RTLSDR_TCP),y)
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RTL_TCP=ON
|
||||
else
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RTL_TCP=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_RFSPACE),y)
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RFSPACE=ON
|
||||
else
|
||||
GR_OSMOSDR_CONF_OPTS += -DENABLE_RFSPACE=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user