mac80211: remove '$(PKG_BUILD_DIR)/modules' before compilation (closes #4634)
authorGabor Juhos <juhosg@openwrt.org>
Mon, 16 Feb 2009 16:29:00 +0000 (16:29 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 16 Feb 2009 16:29:00 +0000 (16:29 +0000)
SVN-Revision: 14530

package/mac80211/Makefile

index 931a376fa8c534e93c497b29ba0865b7b22aaa09..16360b373b67db6ce83649cf6a18434c64d9e200 100644 (file)
@@ -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