linux:linux.mk: Add "firmware-imx" dependency if needed

Since SDMA firmwares for imx[6,7,8] are now provided only by
firmware-imx package and not linux-firmware package [1]. If
CONFIG_EXTRA_FIRMWARE is set in the kernel config, the build will fail
if the imx firmware is not available.

[1] http://lists.busybox.net/pipermail/buildroot/2021-January/603807.html

Signed-off-by: Leger Charlie <c.leger@borea-dental.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022.05.x
Leger Charlie 2022-05-04 11:40:06 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 4239958963
commit 666084f494
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ LINUX_DEPENDENCIES = host-kmod
LINUX_DEPENDENCIES += \
$(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \
$(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \
$(if $(BR2_PACKAGE_FREESCALE_IMX),firmware-imx) \
$(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb)
# Starting with 4.16, the generated kconfig paser code is no longer