mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +00:00
gnuradio : Update to version 3.6.3.
* Fix packaging issues for the examples package. * Disable build for machines without neon, since cmake detection is broken. Signed-off-by: Philip Balister <philip@balister.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
6bd7221787
commit
d73b0653b9
@@ -4,8 +4,6 @@ SECTION = "apps"
|
|||||||
LICENSE = "GPLv3"
|
LICENSE = "GPLv3"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
PR = "r0"
|
|
||||||
|
|
||||||
DEPENDS = "uhd gsl fftwf python alsa-lib boost cppunit \
|
DEPENDS = "uhd gsl fftwf python alsa-lib boost cppunit \
|
||||||
swig-native python-numpy python-pygtk orc qt4-x11-free qwt"
|
swig-native python-numpy python-pygtk orc qt4-x11-free qwt"
|
||||||
|
|
||||||
@@ -23,11 +21,6 @@ RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs \
|
|||||||
|
|
||||||
C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
C_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||||
|
|
||||||
#do_configure_append() {
|
|
||||||
# find ${S} -name Makefile | xargs sed -i s:'-I${STAGING_INCDIR_NATIVE'::g
|
|
||||||
# find ${S} -name Makefile | xargs sed -i s:'-L${STAGING_LIBDIR_NATIVE'::g
|
|
||||||
#}
|
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
${BUILD_CC} ${S}/gr-vocoder/lib/codec2/generate_codebook.c -o ${S}/gr-vocoder/lib/generate_codebook -lm
|
${BUILD_CC} ${S}/gr-vocoder/lib/codec2/generate_codebook.c -o ${S}/gr-vocoder/lib/generate_codebook -lm
|
||||||
echo "ADD_EXECUTABLE(generate_codebook IMPORTED)" >${S}/gr-vocoder/lib/generate_codebook.txt
|
echo "ADD_EXECUTABLE(generate_codebook IMPORTED)" >${S}/gr-vocoder/lib/generate_codebook.txt
|
||||||
@@ -39,7 +32,7 @@ do_compile_prepend() {
|
|||||||
cp ${S}/gr-vocoder/lib/codec2/defines.h ${OECMAKE_BUILDPATH}/gr-vocoder/lib/codec2
|
cp ${S}/gr-vocoder/lib/codec2/defines.h ${OECMAKE_BUILDPATH}/gr-vocoder/lib/codec2
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "\
|
PACKAGES += " \
|
||||||
${PN}-examples \
|
${PN}-examples \
|
||||||
${PN}-grc \
|
${PN}-grc \
|
||||||
"
|
"
|
||||||
@@ -53,20 +46,21 @@ FILES_${PN} += "${prefix}/etc/gnuradio/*"
|
|||||||
|
|
||||||
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
|
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \
|
||||||
${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
|
${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \
|
||||||
|
${datadir}/gnuradio/examples/*/.debug \
|
||||||
"
|
"
|
||||||
FILES_${PN}-examples = "${datadir}/gnuradio/examples"
|
FILES_${PN}-examples = "${datadir}/gnuradio/examples"
|
||||||
|
|
||||||
PV = "3.5.3"
|
PV = "3.6.3"
|
||||||
|
|
||||||
FILESPATHPKG_prepend = "gnuradio-git:"
|
FILESPATHPKG_prepend = "gnuradio-git:"
|
||||||
|
|
||||||
SRCREV = "f621a52f779381cfe550b4278b83e701a747944c"
|
SRCREV = "607a6fa3f80e08298ce7b3ee74ffca1590c05164"
|
||||||
|
|
||||||
# Make it easy to test against developer repos and branches
|
# Make it easy to test against developer repos and branches
|
||||||
GIT_REPO = "gnuradio.git"
|
GIT_REPO = "gnuradio.git"
|
||||||
GIT_BRANCH = "master"
|
GIT_BRANCH = "master"
|
||||||
|
|
||||||
SRC_URI = "git://gnuradio.org/git/${GIT_REPO};branch=${GIT_BRANCH};protocol=http \
|
SRC_URI = "git://gnuradio.org/${GIT_REPO};branch=${GIT_BRANCH};protocol=git \
|
||||||
"
|
"
|
||||||
|
|
||||||
S="${WORKDIR}/git"
|
S="${WORKDIR}/git"
|
||||||
@@ -78,3 +72,9 @@ EXTRA_OECMAKE = "-DENABLE_GR_ATSC=FALSE -DENABLE_GR_QTGUI=ON -DENABLE_GR_WXGUI=O
|
|||||||
|
|
||||||
EXTRA_OEMAKE = "-C ${OECMAKE_BUILDPATH}"
|
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")
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user