* [Buildroot] [PATCH 1/1] package/gr-osmosdr: drop BR2_PACKAGE_GR_OSMOSDR_PYTHON
@ 2023-03-02 22:12 Fabrice Fontaine
2023-03-05 18:23 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 22:12 UTC (permalink / raw)
To: buildroot; +Cc: Gwenhael Goavec-Merou, Fabrice Fontaine
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
e37c110bead8b7b35cd97915673fa785ccb39f2d and
https://github.com/gnuradio/gnuradio/commit/51d3ad973292763a6fc0cf8e971faa3cf89029e9:
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>
---
package/gr-osmosdr/Config.in | 7 -------
package/gr-osmosdr/gr-osmosdr.mk | 2 +-
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/package/gr-osmosdr/Config.in b/package/gr-osmosdr/Config.in
index 04fa10be80..d83de75282 100644
--- a/package/gr-osmosdr/Config.in
+++ b/package/gr-osmosdr/Config.in
@@ -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
diff --git a/package/gr-osmosdr/gr-osmosdr.mk b/package/gr-osmosdr/gr-osmosdr.mk
index 89907c1baa..6011a67539 100644
--- a/package/gr-osmosdr/gr-osmosdr.mk
+++ b/package/gr-osmosdr/gr-osmosdr.mk
@@ -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
--
2.39.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/gr-osmosdr: drop BR2_PACKAGE_GR_OSMOSDR_PYTHON
2023-03-02 22:12 [Buildroot] [PATCH 1/1] package/gr-osmosdr: drop BR2_PACKAGE_GR_OSMOSDR_PYTHON Fabrice Fontaine
@ 2023-03-05 18:23 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-03-05 18:23 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Gwenhael Goavec-Merou, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> 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
> e37c110bead8b7b35cd97915673fa785ccb39f2d and
> https://github.com/gnuradio/gnuradio/commit/51d3ad973292763a6fc0cf8e971faa3cf89029e9:
> 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>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-05 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 22:12 [Buildroot] [PATCH 1/1] package/gr-osmosdr: drop BR2_PACKAGE_GR_OSMOSDR_PYTHON Fabrice Fontaine
2023-03-05 18:23 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.