aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2012-10-19 14:03:31 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2012-10-19 16:10:37 -0300
commit9a247b5c1b9f11838af55f0a3c571608638c57f3 (patch)
tree15eec8dfd7ccee3205b0d30587bbcb94ed1e9e4f /recipes-multimedia
parente441727a59a87793e0759675060e60754d5e4071 (diff)
downloadmeta-fsl-arm-9a247b5c1b9f11838af55f0a3c571608638c57f3.tar.gz
meta-fsl-arm-9a247b5c1b9f11838af55f0a3c571608638c57f3.tar.bz2
meta-fsl-arm-9a247b5c1b9f11838af55f0a3c571608638c57f3.zip
fsl-mm-mp3enc-codeclib: update to use inc file
Move common configuration code to fsl-mm-mp3enc-codeclib.inc file. Change-Id: I78d1194d91c873c59f991be18bead3d16506c0c6 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc28
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb28
2 files changed, 31 insertions, 25 deletions
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc
new file mode 100644
index 0000000..a131ce8
--- /dev/null
+++ b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc
@@ -0,0 +1,28 @@
+# Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Freescale Multimedia codec libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95"
+
+INC_PR = "r1"
+
+SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true"
+
+inherit fsl-eula-unpack
+
+do_install () {
+ install -d ${D}${libdir}
+ install -d ${D}${libdir}/pkgconfig
+ install -d ${D}${includedir}/mm_ghdr
+ install -m 0755 ${S}/release/lib/*.so* ${D}${libdir}
+ install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr
+ install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig
+}
+
+FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc"
+INSANE_SKIP_${PN} = "ldflags"
+
+FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h"
+INSANE_SKIP_${PN}-dev = "ldflags"
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb
index ed27058..8142502 100644
--- a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb
+++ b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb
@@ -1,30 +1,8 @@
-# Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com>
-# Released under the MIT license (see COPYING.MIT for the terms)
+include fsl-mm-mp3enc-codeclib.inc
-DESCRIPTION = "Freescale Multimedia codec libs"
-LICENSE = "Proprietary"
-SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95"
+PR = "${INC_PR}.0"
-PR = "r1"
+COMPATIBLE_MACHINE = "(mx5)"
-SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true"
SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235"
SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99"
-
-inherit fsl-eula-unpack
-
-do_install () {
- install -d ${D}${libdir}
- install -d ${D}${libdir}/pkgconfig
- install -d ${D}${includedir}/mm_ghdr
- install -m 0755 ${S}/release/lib/*.so* ${D}${libdir}
- install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr
- install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig
-}
-
-FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc"
-INSANE_SKIP_${PN} = "ldflags"
-
-FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h"
-INSANE_SKIP_${PN}-dev = "ldflags"