Hi, We have built an OS for our intel device with Yocto's nanbield with the linux-intel version 6.1.59. We need to disable some kernel configurations that are unnecessary for our device. However, when we attempted to disable the wireless configurations (CONFIG_WIRELESS and CONFIG_WLAN), it resulted in numerous BitBake warnings, some of them pasted below:
Bitbake warnings: WARNING: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_MAC80211' last val (m) and .config val (n) do not match [INFO]: CONFIG_MAC80211 : n [INFO]: raw config text: .... Config 'MAC80211' has the following Direct dependencies (MAC80211=n): CFG80211(=n) && WIRELESS(=n) && NET(=y) Parent dependencies are: WIRELESS [n] NET [y] CFG80211 [n] [INFO]: config 'CONFIG_MAC80211' was set, but it wasn't assignable, check (parent) dependencies [NOTE]: 'CONFIG_CFG80211' last val (m) and .config val (n) do not match [INFO]: CONFIG_CFG80211 : n [INFO]: raw config text: ... Config 'CFG80211' has the following Direct dependencies (CFG80211=n): RFKILL(=y) || !RFKILL(=y) (=y) && WIRELESS(=n) && NET(=y) Parent dependencies are: RFKILL [y] CFG80211_USE_KERNEL_REGDB_KEYS [n] WIRELESS [n] NET [y] [INFO]: config 'CONFIG_CFG80211' was set, but it wasn't assignable, check (parent) dependencies It seems the config fragment common-pc-wifi.cfg (included by the standard linux-intel BSP) attempted to enable options like CONFIG_MAC80211, CONFIG_CFG80211, CONFIG_ATH_COMMON etc., but this was not possible because the parent option (WIRELESS) was disabled, leading to the bitbake warnings. Is it ok to live with these warnings or is there a way to get rid of them? My config fragment and linux-intel.bbappend is shown below: cat disable-wrieless.cfg # CONFIG_WIRELESS is not set # CONFIG_WLAN is not set cat linux-intel_%.bbappend FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI += "file://disable-wireless.cfg \ " Thank you in advance Simi
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8432): https://lists.yoctoproject.org/g/meta-intel/message/8432 Mute This Topic: https://lists.yoctoproject.org/mt/108943677/21656 Group Owner: meta-intel+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-