package/gr-osmosdr: add python3 support

Gnuradio 3.8 support python2 and python3 and since gr-osmosdr support both two,
adapts dependencies

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020.02.x
Gwenhael Goavec-Merou 2020-01-17 12:02:31 +01:00 committed by Thomas Petazzoni
parent f063a1a51b
commit a842bdba71
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ GR_OSMOSDR_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_GR_OSMOSDR_PYTHON),y)
GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=ON
GR_OSMOSDR_DEPENDENCIES += python
GR_OSMOSDR_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python)
else
GR_OSMOSDR_CONF_OPTS += -DENABLE_PYTHON=OFF
endif