And the following patch fixes build for cw-3.7 (and I think for cw-3.8, not tested)
diff --git a/Makefile.orig b/Makefile
index 66263c3..7b6ce6f 100644
--- a/Makefile.orig
+++ b/Makefile
@@ -43,8 +43,8 @@ obj-y := compat/
obj-$(CONFIG_COMPAT_RFKILL) += net/rfkill/
And the following patch fixes build for cw-3.7 (and I think for cw-3.8, not tested) CONFIG_ COMPAT_ RFKILL) += net/rfkill/
diff --git a/Makefile.orig b/Makefile
index 66263c3..7b6ce6f 100644
--- a/Makefile.orig
+++ b/Makefile
@@ -43,8 +43,8 @@ obj-y := compat/
obj-$(
ifeq ($(BT),) CONFIG_ COMPAT_ WIRELESS) += net/wireless/ net/mac80211/ CONFIG_ COMPAT_ WIRELESS_ MODULES) += drivers/ net/wireless/ CONFIG_ COMPAT_ WIRELESS) += drivers/ssb/ drivers/bcma/ net/wireless/ net/mac80211/ CONFIG_ COMPAT_ WIRELESS_ MODULES) += drivers/ssb/ drivers/bcma/ drivers/ net/wireless/
-obj-$(
-obj-$(
+obj-$(
+obj-$(
ifeq ($(CONFIG_ STAGING_ EXCLUDE_ BUILD), )
endif