diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-07-10 12:01:12 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-07-13 14:13:24 -0300 |
commit | 63985dc4a6fdbbc2fe53b289a5484110ee6f1d81 (patch) | |
tree | db7c2d112715a140759a8b8d05a08897245c104c /recipes-multimedia | |
parent | d8c395980eb33d3fe0c643a12f7c655a2b0c40ae (diff) | |
download | meta-freescale-63985dc4a6fdbbc2fe53b289a5484110ee6f1d81.tar.gz |
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 <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r-- | recipes-multimedia/alsa/alsa-lib_%.bbappend | 6 |
1 files changed, 2 insertions, 4 deletions
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}:" | |||
3 | IMX_PATCH = " file://0001-add-conf-for-multichannel-support-in-imx.patch \ | 3 | IMX_PATCH = " file://0001-add-conf-for-multichannel-support-in-imx.patch \ |
4 | file://0004-pcm-Don-t-store-the-state-for-SND_PCM_STATE_SUSPENDE.patch" | 4 | file://0004-pcm-Don-t-store-the-state-for-SND_PCM_STATE_SUSPENDE.patch" |
5 | 5 | ||
6 | SRC_URI_append_mx6 = "${IMX_PATCH}" | 6 | SRC_URI_append_imx = "${IMX_PATCH}" |
7 | SRC_URI_append_mx7 = "${IMX_PATCH}" | ||
8 | 7 | ||
9 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | 8 | PACKAGE_ARCH_imx = "${MACHINE_SOCARCH}" |
10 | PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" | ||