NOTE: this page is for archival only, see the note at the end of the page.

Brainstorming for enable Kconfig on compat-wireless

Step 1

Using the existing kernel's config, generate a Kconfig file that contains all the right symbols for that kernel: cat .config | genkconf.sh > kernel-kconfig where the script is this:

while read line ; do
        case "${line:0:7}" in
        "CONFIG_")
                line="${line:7}"
                cfg="${line%%=*}"
                val="${line#*=}"
                cfgtype="skip"
                if [ "$val" = "m" ] ; then
                        cfgtype="tristate"
                elif [ "$val" = "y" ] ; then
                        cfgtype="bool"
                fi
                if [ "$cfgtype" != "skip" ] ; then
                        echo "config $cfg"
                        echo "    $cfgtype"
                        echo "    default $val"
                        echo ""
                fi
                ;;
        "# CONFI")
                cfg="${line:9}"
                cfg="${cfg%% is not set}"
                echo "config $cfg"
                echo "    bool"
                echo "    default n"
                echo ""
                ;;
        esac
done

This is a static dump of the wiki, taken after locking it in January 2015. The new wiki is at https://wireless.wiki.kernel.org/.
versions of this page: last, v10, v9, v8, v7, v6, v5, v4, v3, v2, v1