diff options
author | Daiane Angolini <daiane.angolini@freescale.com> | 2012-10-19 14:03:31 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-10-19 16:10:37 -0300 |
commit | 9a247b5c1b9f11838af55f0a3c571608638c57f3 (patch) | |
tree | 15eec8dfd7ccee3205b0d30587bbcb94ed1e9e4f | |
parent | e441727a59a87793e0759675060e60754d5e4071 (diff) | |
download | meta-fsl-arm-9a247b5c1b9f11838af55f0a3c571608638c57f3.tar.gz |
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>
-rw-r--r-- | recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc | 28 | ||||
-rw-r--r-- | recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb | 28 |
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 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Freescale Multimedia codec libs" | ||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95" | ||
8 | |||
9 | INC_PR = "r1" | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | inherit fsl-eula-unpack | ||
14 | |||
15 | do_install () { | ||
16 | install -d ${D}${libdir} | ||
17 | install -d ${D}${libdir}/pkgconfig | ||
18 | install -d ${D}${includedir}/mm_ghdr | ||
19 | install -m 0755 ${S}/release/lib/*.so* ${D}${libdir} | ||
20 | install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr | ||
21 | install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig | ||
22 | } | ||
23 | |||
24 | FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc" | ||
25 | INSANE_SKIP_${PN} = "ldflags" | ||
26 | |||
27 | FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h" | ||
28 | 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 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com> | 1 | include fsl-mm-mp3enc-codeclib.inc |
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | 2 | ||
4 | DESCRIPTION = "Freescale Multimedia codec libs" | 3 | PR = "${INC_PR}.0" |
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95" | ||
8 | 4 | ||
9 | PR = "r1" | 5 | COMPATIBLE_MACHINE = "(mx5)" |
10 | 6 | ||
11 | SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true" | ||
12 | SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235" | 7 | SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235" |
13 | SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99" | 8 | SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99" |
14 | |||
15 | inherit fsl-eula-unpack | ||
16 | |||
17 | do_install () { | ||
18 | install -d ${D}${libdir} | ||
19 | install -d ${D}${libdir}/pkgconfig | ||
20 | install -d ${D}${includedir}/mm_ghdr | ||
21 | install -m 0755 ${S}/release/lib/*.so* ${D}${libdir} | ||
22 | install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr | ||
23 | install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig | ||
24 | } | ||
25 | |||
26 | FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc" | ||
27 | INSANE_SKIP_${PN} = "ldflags" | ||
28 | |||
29 | FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h" | ||
30 | INSANE_SKIP_${PN}-dev = "ldflags" | ||