package/gr-osmosdr: drop BR2_PACKAGE_GR_OSMOSDR_PYTHON

Drop BR2_PACKAGE_GR_OSMOSDR_PYTHON as disabling python will raise the
following build failure if BR2_PACKAGE_GNURADIO_PYTHON is set since bump
of gnuradio to version 3.10.4.0 in commit
e37c110bea and
51d3ad9732:

CMake Error at lib/CMakeLists.txt:51 (add_library):
  Target "gnuradio-osmosdr" links to target "Python::Module" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

No entry in Config.in.legacy is needed as python support in gr-osmosdr
will now automatically be enabled if BR2_PACKAGE_GNURADIO_PYTHON is set

Fixes:
 - http://autobuild.buildroot.org/results/49e9f7bf8bfc7008688c1a3bc3744b7d3be3ce18

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-03-02 23:12:17 +01:00 committed by Peter Korsgaard
parent 7f96255f4a
commit f931ac2819
2 changed files with 1 additions and 8 deletions

View File

@ -11,13 +11,6 @@ config BR2_PACKAGE_GR_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

View File

@ -22,7 +22,7 @@ GR_OSMOSDR_CONF_OPTS = \
# compile time.
GR_OSMOSDR_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_PYTHON),y)
ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y)
GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=ON
GR_OSMOSDR_DEPENDENCIES += python3
else