[LEDE-DEV] Changing config responsible for kmod's config doesn't have expected effect (PACKAGE_BRCM80211_DEBUG)
Rafał Miłecki
zajec5 at gmail.com
Fri May 20 14:13:39 PDT 2016
I just realized my problem with debugging brcmfmac is caused by LEDE
not rebuilding package properly.
It seems changing PACKAGE_BRCM80211_DEBUG requires me to also clean
package manually because config isn't properly updated.
> make package/kernel/mac80211/clean
> make package/kernel/mac80211/prepare
> grep CONFIG_PACKAGE_BRCM80211_DEBUG .config
# CONFIG_PACKAGE_BRCM80211_DEBUG is not set
> make package/kernel/mac80211/install > /dev/null 2>&1
> grep CPTCFG_BRCMDBG build_dir/target-*/linux-*/compat-wireless-*/.config
# CPTCFG_BRCMDBG is not set
>>> So far everything works as expected <<<
> sed -i 's/.*\(CONFIG_PACKAGE_BRCM80211_DEBUG\).*/\1=y/' .config
> grep CONFIG_PACKAGE_BRCM80211_DEBUG .config
CONFIG_PACKAGE_BRCM80211_DEBUG=y
> make package/kernel/mac80211/install > /dev/null 2>&1
> grep CPTCFG_BRCMDBG build_dir/target-*/linux-*/compat-wireless-*/.config
# CPTCFG_BRCMDBG is not set
>>> Changing CONFIG_PACKAGE_BRCM80211_DEBUG didn't affect compat-wireless <<<
> make package/kernel/mac80211/clean
> make package/kernel/mac80211/install > /dev/null 2>&1
> grep CPTCFG_BRCMDBG build_dir/target-*/linux-*/compat-wireless-*/.config
CPTCFG_BRCMDBG=y
>>> Doing clean and building again fixed the problem <<<
More information about the Lede-dev
mailing list