From de0f5ba17a15a87bc16a6d6aa318104510c38f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Mon, 31 Jan 2022 20:21:51 +0000 Subject: [PATCH] linux: build after wireless-regdb if enabled for early loading support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To support building in the wireless regulatory database files (regulatory.db*) into the kernel using the CONFIG_EXTRA_FIRMWARE option, we need to ensure that the database files are installed before the Linux kernel is built. The dependency is harmless if CONFIG_EXTRA_FIRMWARE isn't actually set. Signed-off-by: Jörg Krause Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- linux/linux.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index 35e2484588..d798aea057 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -72,7 +72,8 @@ LINUX_MAKE_ENV = \ LINUX_INSTALL_IMAGES = YES LINUX_DEPENDENCIES = host-kmod \ $(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \ - $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) + $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \ + $(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb) # Starting with 4.16, the generated kconfig paser code is no longer # shipped with the kernel sources, so we need flex and bison, but