From e8dd29392fc0a432d526d12993f0f41489c71693 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Tue, 3 Sep 2019 16:27:22 +0200 Subject: [PATCH] imx-alsa-plugins: add 'git' recipe to fix k4.14 build Latest meta-fsl-bsp-release tag 'rel_imx_4.14.98_2.1.0' replaces the imx-alsa-plugins recipe from the meta-freescale upstream layer to fix the build with the kernel 4.14. The commit cde60d6 ("asrc_pair: update according to latest mxc_asrc.h") fixes the build issues. https://jira.digi.com/browse/DEL-6732 Signed-off-by: Arturo Buzarra --- .../alsa/imx-alsa-plugins_git.bb | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-digi-dey/recipes-multimedia/alsa/imx-alsa-plugins_git.bb diff --git a/meta-digi-dey/recipes-multimedia/alsa/imx-alsa-plugins_git.bb b/meta-digi-dey/recipes-multimedia/alsa/imx-alsa-plugins_git.bb new file mode 100644 index 000000000..a642c563b --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/alsa/imx-alsa-plugins_git.bb @@ -0,0 +1,37 @@ +# Copyright (C) 2013-2016 Freescale Semiconductor +# Copyright (C) 2017-2019 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Freescale alsa-lib plugins" +LICENSE = "GPLv2" +SECTION = "multimedia" +DEPENDS = "alsa-lib" + +# For backwards compatibility +PROVIDES += "fsl-alsa-plugins" +RREPLACES_${PN} = "fsl-alsa-plugins" +RPROVIDES_${PN} = "fsl-alsa-plugins" +RCONFLICTS_${PN} = "fsl-alsa-plugins" + +LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f" + +inherit autotools pkgconfig use-imx-headers + +IMXALSA_SRC ?= "git://source.codeaurora.org/external/imx/imx-alsa-plugins.git;protocol=https" +SRCBRANCH = "MM_04.04.07_1906_L4.14.98" + +SRC_URI = "${IMXALSA_SRC};branch=${SRCBRANCH}" +SRCREV = "cde60d68ab2acee913dbfacb8aabb53d87dd3e38" +S = "${WORKDIR}/git" + +INCLUDE_DIR = "-I${STAGING_INCDIR_IMX}" + +EXTRA_OECONF = "CFLAGS="${INCLUDE_DIR}"" + +INSANE_SKIP_${PN} = "dev-so" + +FILES_${PN} += "${libdir}/alsa-lib/libasound_*.so" +FILES_${PN}-dbg += "${libdir}/alsa-lib/.debug" +FILES_${PN}-dev += "${libdir}/alsa-lib/*.la" + +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"