Commit 5679f39e authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Update opus

parent 3377dc56
......@@ -10,6 +10,27 @@ S = "${WORKDIR}/git"
inherit autotools pkgconfig
do_autoreconf() {
./autogen.sh
}
\ No newline at end of file
PACKAGECONFIG ??= ""
PACKAGECONFIG[fixed-point] = "--enable-fixed-point,,"
PACKAGECONFIG[float-approx] = "--enable-float-approx,,"
EXTRA_OECONF = " \
--with-NE10-includes=${STAGING_DIR_TARGET}${includedir} \
--with-NE10-libraries=${STAGING_DIR_TARGET}${libdir} \
--enable-asm \
--enable-intrinsics \
--enable-custom-modes \
"
python () {
if d.getVar('TARGET_FPU') in [ 'soft' ]:
d.appendVar('PACKAGECONFIG', ' fixed-point')
# Ne10 is only available for armv7 and aarch64
if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES').split()):
d.appendVar('DEPENDS', ' ne10')
}
ARM_INSTRUCTION_SET = "arm"
\ No newline at end of file
......@@ -3,7 +3,7 @@ require opus.inc
PR = "${INC_PR}.0"
SRCREV = "${AUTOREV}"
SRC_URI = "git://git.linphone.org/opus.git;nobranch=1"
SRC_URI = "git://git.linphone.org/opus.git;branch=linphone"
PV = "git_${SRCREV}"
LIC_FILES_CHKSUM= "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment