Commit Graph

2 Commits

Author SHA1 Message Date
Hermes Zhang
7a3ae99f59 kernel_add_regdb: Change the task order
The kernel_add_regdb should run before do_compile to make it take
effect.

Change-Id: I6e3c4cc0c6fbef2610998ebf181b87c1536e9eba
2023-01-11 17:56:42 -08:00
Krzysztof Kozlowski
8603b7643b kernel_wireless_regdb: Add class for embedding regulatory data into older kernel
Linux kernels before v4.15, allowed to be compiled with static
regulatory database if it was put under net/wireless/db.txt.

Add kernel_wireless_regdb class which allows in such cases to embed the
wireless regulatory database directly in the Linux kernel during build
process.

Usage:
1. The class should be inherited by kernel recipe (e.g. in
   linux-yocto_%.bbappend).
2. For Linux kernels up to v4.14, build kernel with CONFIG_EXPERT and
   CONFIG_CFG80211_INTERNAL_REGDB.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05 17:51:16 -07:00