From be4a0f9ad7e17670d7a30c9e94d5dd918425f90a Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Fri, 11 Apr 2014 01:45:20 +0000 Subject: backports: nuke support for kernels < 3.0 mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py --clean /home/mcgrof/linux-next /home/mcgrof/build/next-20140409 Copy original source files ... Apply patches ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m30.186s user 9m25.180s sys 0m24.428s mcgrof@drvbp1 ~/build/next-20140409 $ time ckmake --allyesconfig 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.54 [ OK ] 4 3.3.8 [ OK ] 5 3.4.79 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.29 [ OK ] 12 3.11.10 [ OK ] 13 3.12.10 [ OK ] 14 3.13.2 [ OK ] 15 3.14-rc1 [ OK ] real 26m54.859s user 744m15.764s sys 83m47.440s Signed-off-by: Luis R. Rodriguez --- .../network/0004-disable-wext-kconfig.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 patches/collateral-evolutions/network/0004-disable-wext-kconfig.patch (limited to 'patches/collateral-evolutions/network/0004-disable-wext-kconfig.patch') diff --git a/patches/collateral-evolutions/network/0004-disable-wext-kconfig.patch b/patches/collateral-evolutions/network/0004-disable-wext-kconfig.patch new file mode 100644 index 00000000..9d32cfe0 --- /dev/null +++ b/patches/collateral-evolutions/network/0004-disable-wext-kconfig.patch @@ -0,0 +1,36 @@ +There's no way to build wireless extensions out of tree +so remove the Kconfig options for them. + +--- a/net/wireless/Kconfig ++++ b/net/wireless/Kconfig +@@ -1,21 +1,3 @@ +-config WIRELESS_EXT +- bool +- +-config WEXT_CORE +- def_bool y +- depends on CFG80211_WEXT || WIRELESS_EXT +- +-config WEXT_PROC +- def_bool y +- depends on PROC_FS +- depends on WEXT_CORE +- +-config WEXT_SPY +- bool +- +-config WEXT_PRIV +- bool +- + config CFG80211 + tristate "cfg80211 - wireless configuration API" + depends on RFKILL || !RFKILL +@@ -134,7 +116,7 @@ config CFG80211_INTERNAL_REGDB + config CFG80211_WEXT + bool "cfg80211 wireless extensions compatibility" + depends on CFG80211 +- select WEXT_CORE ++ depends on WEXT_CORE + help + Enable this option if you need old userspace for wireless + extensions with cfg80211-based drivers. -- cgit v1.2.3