gnuradio : Update recipe to build on all machines again.
PATCH v2 1/1 gnuradio : Update recipe to build on all machines again.
Also updated the git repo address after recent changes in hosting.
The recipe failed to build for machines without neon as a tune feature. The cmake config options have been changed so that it configures properly now.
Disable documentation to prevent build failures on some machines,
Tested on armv7a, x86, and x86-64.
Signed-off-by Philip Balister <[email protected]>
---
meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 11 ++++-------
...hd-firmware_003.005.002.bb => uhd-firmware_003.005.003.bb} | 0
2 files changed, 4 insertions(+), 7 deletions(-)
rename meta-oe/recipes-connectivity/uhd/{uhd-firmware_003.005.002.bb => uhd-firmware_003.005.003.bb} (100%)meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb +4 -7
@@ -70,7 +70,7 @@ SRCREV = "5f69899e059e9bea58f92af61f70fc3f63825087" GIT_REPO = "gnuradio.git" GIT_BRANCH = "master" -SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \ +SRC_URI = "git://git.gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \ " S="${WORKDIR}/git"
@@ -82,21 +82,18 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE \ -DENABLE_GR_FCD=OFF \ -DENABLE_GR_WXGUI=OFF \ -DENABLE_GR_VIDEO_SDL=OFF \ + -DENABLE_SPHINX=OFF -DENABLE_DOXYGEN=OFF \ -DIMPORT_EXECUTABLES=${S}/gr-vocoder/lib/generate_codebook.txt \ -DQT_HEADERS_DIR=${STAGING_INCDIR}/qt4 \ -DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/qt4/QtCore \ -DQT_LIBRARY_DIR=${STAGING_LIBDIR} \ -DQT_QTCORE_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtCore.so \ -DQT_QTGUI_LIBRARY_RELEASE=${STAGING_LIBDIR}/libQtGui.so \ + ${@base_contains('TUNE_FEATURES', 'neon', \ + '-Dhave_mfpu_neon=1', '-Dhave_mfpu_neon=0', d)} \ " inherit distutils-base cmake pkgconfig EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}" -# Only builds for machines with neon instructions. Problem is in upstream cmake. -python () { - if not oe.utils.contains ('TUNE_FEATURES', 'neon', True, False, d): - raise bb.parse.SkipPackage("'neon' not in TUNE_FEATURES") -} -
meta-oe/recipes-connectivity/uhd/uhd-firmware_003.005.003.bb renamed from meta-oe/recipes-connectivity/uhd/uhd-firmware_003.005.002.bb +0 -0
Signature · 1 line
1.7.11.7