meta-digi-arm: Add fsl-mm-codeclib to recipes-multimedia.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
4ccb0c5c90
commit
b01667f276
|
|
@ -0,0 +1,35 @@
|
||||||
|
# Copyright (C) 2011 Freescale Semiconductor
|
||||||
|
# Copyright (C) 2012 Digi International.
|
||||||
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
|
DESCRIPTION = "Freescale mm codec libs"
|
||||||
|
SECTION = "multimedia"
|
||||||
|
LICENSE = "Proprietary"
|
||||||
|
DEPENDS = "pkgconfig"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://${LAYERDIR}/FSL_MMK_EULA;md5=da9b44d371e7f1f2d2fa1cad0db90ef7"
|
||||||
|
|
||||||
|
INC_PR = "r1"
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} = "ldflags"
|
||||||
|
INSANE_SKIP_${PN}-dev = "ldflags"
|
||||||
|
|
||||||
|
SRC_URI = "${DIGI_LOG_MIRROR}/${PN}-${PV}.tar.gz"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${libdir}
|
||||||
|
install -d ${D}${libdir}/pkgconfig
|
||||||
|
install -d ${D}${includedir}/mm_ghdr
|
||||||
|
|
||||||
|
cp -r ${S}/release/lib/* ${D}${libdir}
|
||||||
|
cp -r ${S}/ghdr/* ${D}${includedir}/mm_ghdr
|
||||||
|
install -m 0644 ${S}/pkgconfig/fsl-mm-core.pc ${D}${libdir}/pkgconfig
|
||||||
|
|
||||||
|
# Fix file permissions
|
||||||
|
find ${D} -type f -exec chmod a-x '{}' ';'
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN} += "${libdir}/${SOLIBS}"
|
||||||
|
FILES_${PN}-dev += "${libdir}/${SOLIBSDEV}"
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
include fsl-mm-codeclib.inc
|
||||||
|
|
||||||
|
PR = "${INC_PR}.0"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "e06bcaae6a7f5162caaa4ae5a56bf067"
|
||||||
|
SRC_URI[sha256sum] = "5f1ec8200469d886dfbe82a22a63033914dc690c545c74a27ababb24fd53952a"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "(mx5)"
|
||||||
Loading…
Reference in New Issue