-ifneq ($(findstring 2.6.23,$(LINUX_VERSION)),)
- define Build/Prepare
- mkdir -p $(PKG_BUILD_DIR)/mac80211
- $(CP) ./src/mac80211/* $(PKG_BUILD_DIR)/mac80211/
- mkdir -p $(PKG_BUILD_DIR)/wireless
- $(CP) ./src/wireless/* $(PKG_BUILD_DIR)/wireless/
- endef
+define Build/Prepare
+ rm -rf $(PKG_BUILD_DIR)
+ mkdir -p $(PKG_BUILD_DIR)
+ $(CP) ./src/* $(PKG_BUILD_DIR)/
+ $(Build/Patch)
+ $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
+endef