Patchwork [meta-fsl-arm,03/15] libfslcodec: Update to 3.0.8 release

login
register
mail settings
Submitter Otavio Salvador
Date July 23, 2013, 6:43 p.m.
Message ID <1374605026-7933-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/54225/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 23, 2013, 6:43 p.m.
This release includes support for Hard Float-Point and we then add
support for it to behave properly depending on the machine tune
choice.

One thing to note about this new release is it /removes/ AAC and OGG
codecs from the package.

This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Jun
Zhu <R01007@freescale.com>.

The file, used in SRC_URI, is from 3.5.7-1.0.0 BSP but its contents
explicitly say it is a 3.0.8 release so we use the source version to
avoid supporting different version from different kernel releases.

Change-Id: Icdbd2ca686b86badaf1558f609b2beb911b01fe8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-multimedia/libfslcodec/libfslcodec.inc      |  5 ++++-
 recipes-multimedia/libfslcodec/libfslcodec_3.0.7.bb |  9 ---------
 recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb | 13 +++++++++++++
 3 files changed, 17 insertions(+), 10 deletions(-)
 delete mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.7.bb
 create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb

Patch

diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index 6fc368f..ad44eb1 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -1,4 +1,4 @@ 
-# Copyright (C) 2012-2013 Freescale Semicondutors
+# Copyright (C) 2012-2013 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 DESCRIPTION = "Freescale Multimedia codec libs"
 LICENSE = "Proprietary"
@@ -17,6 +17,9 @@  PACKAGES += "${PN}-meta"
 ALLOW_EMPTY_${PN} = "1"
 ALLOW_EMPTY_${PN}-meta = "1"
 
+# Choose between Soft Float-Point and Hard Float-Point
+EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}"
+
 do_install_append() {
 	# FIXME: This link points to nowhere
 	rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.7.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.7.bb
deleted file mode 100644
index 29f5130..0000000
--- a/recipes-multimedia/libfslcodec/libfslcodec_3.0.7.bb
+++ /dev/null
@@ -1,9 +0,0 @@ 
-# Copyright (C) 2013 Freescale Semicondutors
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-require libfslcodec.inc
-
-SRC_URI[md5sum] = "03bddd43219b4dea4f0e0fcdfed32ade"
-SRC_URI[sha256sum] = "f42c63350b76397620d05c2b1c73506af07012d93191d5acbe82f8fb3d551b89"
-
-COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb
new file mode 100644
index 0000000..cb105bf
--- /dev/null
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb
@@ -0,0 +1,13 @@ 
+# Copyright (C) 2013 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require libfslcodec.inc
+
+# FIXME: Inspecting the source code the content is in fact 3.0.8
+SRC_URI = "${FSL_MIRROR}/${PN}-3.5.7-1.0.0.bin;fsl-eula=true"
+S = "${WORKDIR}/${PN}-3.5.7-1.0.0"
+
+SRC_URI[md5sum] = "bfdae0e2c6f7355c370c9bb6cd3ab9f9"
+SRC_URI[sha256sum] = "657a1a67e26889efcecd8272a4420d88c0fc2a103d6551d0f126d8fe8c333a39"
+
+COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"