summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2020-04-15 15:28:15 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2020-04-15 17:57:27 -0300
commit6d912d908ec7b30d24a3a2b5ebe6f73ec7b76121 (patch)
treec2df905e87912916a6840699a145e5e6dfaa850b /conf/machine
parent27a886bd30fd22b7efbf492a5572ea9fc3cdbf09 (diff)
downloadmeta-freescale-6d912d908ec7b30d24a3a2b5ebe6f73ec7b76121.tar.gz
imx-base.inc: Avoid imx-alsa-plugins use on mainline BSP
The imx-alsa-plugins use i.MX kernel specific APIs so we cannot use it with mainline. Now, the imx-alsa-plugins are added only when NXP BSP is in use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/imx-base.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index fa4b73f5..aba852a6 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -240,9 +240,11 @@ MACHINE_FIRMWARE_append_use-mainline-bsp = " linux-firmware-imx-sdma-imx6q linux
240MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" 240MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
241 241
242# Extra audio support 242# Extra audio support
243MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 243IMX_ALSA_EXTRA = ""
244MACHINE_EXTRA_RRECOMMENDS_append_mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 244IMX_ALSA_EXTRA_use-nxp-bsp = "imx-alsa-plugins"
245MACHINE_EXTRA_RRECOMMENDS_append_mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}" 245MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
246MACHINE_EXTRA_RRECOMMENDS_append_mx7 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
247MACHINE_EXTRA_RRECOMMENDS_append_mx8 = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '${IMX_ALSA_EXTRA}', '', d)}"
246 248
247# Extra Cypress Wi-Fi and BTW firmware (Murata) 249# Extra Cypress Wi-Fi and BTW firmware (Murata)
248MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}" 250MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'bcm4339', 'linux-firmware-bcm4339', '', d)}"