From 63985dc4a6fdbbc2fe53b289a5484110ee6f1d81 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 10 Jul 2017 12:01:12 -0300 Subject: alsa-lib: Ensure MACHINE_SOCARCH is used consistently The alsa-lib needs to apply the patches for all i.MX SoCs so using the 'imx' override seems to be the best choice for this specific use-case. A missing aspect though was that this should also affect every package which /depends/ on alsa-lib (e.g: alsa-utils) so it also goes to MACHINE_SOCARCH architecture fixing the signature change across different machines. This fix has been tested using a massive parallel build using multiconfig. Signed-off-by: Otavio Salvador --- recipes-multimedia/alsa/alsa-lib_%.bbappend | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recipes-multimedia/alsa') diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend index bfe346cc..235a3b14 100644 --- a/recipes-multimedia/alsa/alsa-lib_%.bbappend +++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend @@ -3,8 +3,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" IMX_PATCH = " file://0001-add-conf-for-multichannel-support-in-imx.patch \ file://0004-pcm-Don-t-store-the-state-for-SND_PCM_STATE_SUSPENDE.patch" -SRC_URI_append_mx6 = "${IMX_PATCH}" -SRC_URI_append_mx7 = "${IMX_PATCH}" +SRC_URI_append_imx = "${IMX_PATCH}" -PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_imx = "${MACHINE_SOCARCH}" -- cgit v1.2.3-54-g00ecf