diff mbox series

[1/1] linux: build after wireless-regdb if enabled for early loading support

Message ID 20220131202151.937124-1-joerg.krause@embedded.rocks
State Accepted
Headers show
Series [1/1] linux: build after wireless-regdb if enabled for early loading support | expand

Commit Message

Jörg Krause Jan. 31, 2022, 8:21 p.m. UTC
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.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 linux/linux.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Arnout Vandecappelle Feb. 12, 2022, 8:39 p.m. UTC | #1
On 31/01/2022 21:21, Jörg Krause wrote:
> 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.
> 
> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   linux/linux.mk | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/linux/linux.mk b/linux/linux.mk
> index dd2eebd446..ffe0606930 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
Peter Korsgaard Feb. 27, 2022, 7:16 p.m. UTC | #2
>>>>> "Jörg" == Jörg Krause <joerg.krause@embedded.rocks> writes:

 > 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.

 > Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

Committed to 2021.02.x and 2021.11.x, thanks.
diff mbox series

Patch

diff --git a/linux/linux.mk b/linux/linux.mk
index dd2eebd446..ffe0606930 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