Skip to contentSkip to conversation

linux: build after wireless-regdb if enabled for early loading support

PATCH Applied Jörg Krause 3 participants 3 messages Jan 31, 2022 – Feb 27, 2022

lore
Share & tools
lore
#0 lore raw

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

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.

---
 linux/linux.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
linux/linux.mk +2 -1
index dd2eebd446..ffe0606930 100644
@@ -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
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Jörg Krause

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.

Applied to master, thanks.

Regards,
Arnout

Quoted 9 lines
---
  linux/linux.mk | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
linux/linux.mk +0 -0
index dd2eebd446..ffe0606930 100644

linux/linux.mk LINUX_MAKE_ENV = \ · line 79

Quoted 9 lines
linux/linux.mk +2 -1
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Jörg Krause
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jörg" == Jörg Krause <[email protected]> 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.

Committed to 2021.02.x and 2021.11.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot