summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 931a376fa..16360b373 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -384,6 +384,7 @@ endef
ifneq ($(CONFIG_PACKAGE_kmod-mac80211),)
define Build/Compile/kmod
+ rm -rf $(PKG_BUILD_DIR)/modules
$(MAKE) -C "$(PKG_BUILD_DIR)" $(MAKE_OPTS) all
endef
endif