mac80211: reconfigure in Build/Compile instead of Build/Configure to catch kernel...
authorFelix Fietkau <nbd@openwrt.org>
Fri, 12 Jul 2013 08:10:19 +0000 (08:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 12 Jul 2013 08:10:19 +0000 (08:10 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37265

package/kernel/mac80211/Makefile

index 9b2f54d..2e4e524 100644 (file)
@@ -1346,11 +1346,11 @@ define Build/Configure
        cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
        cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
        cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
-       $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
-       $(MAKE) $(MAKE_OPTS) allnoconfig
 endef
 
 define Build/Compile
+       $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
+       $(MAKE) $(MAKE_OPTS) allnoconfig
        $(call Build/Compile/kmod)
 endef