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 9b2f54de0b43a4c996219bfbfbf4068a6016a846..2e4e5246b4da7c503a9772e22747bd0b66203054 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