[Buildroot] [git commit] linux: add a comment about CONFIG_EXTRA_FIRMWARE requirement

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Thu May 5 20:59:26 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=8c4b55053e093bfaa88d93a9e3ad0ca241679bcd
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Explain why the kernel needs firmware packages as build time
dependencies.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 linux/linux.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 7ff7b05042..e0a1ff74f9 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -70,7 +70,11 @@ LINUX_MAKE_ENV = \
 	BR_BINARIES_DIR=$(BINARIES_DIR)
 
 LINUX_INSTALL_IMAGES = YES
-LINUX_DEPENDENCIES = host-kmod \
+LINUX_DEPENDENCIES = host-kmod
+
+# The kernel CONFIG_EXTRA_FIRMWARE feature requires firmware files at build
+# time. Make sure they are available before the kernel builds.
+LINUX_DEPENDENCIES += \
 	$(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \
 	$(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \
 	$(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb)



More information about the buildroot mailing list