1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 06:05:19 +02:00

eliminate redundancy by creating the quilt_used stampfile in the right place

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-02-22 17:50:31 +00:00
parent b19b9f9e19
commit ca3f76d2a5
5 changed files with 2 additions and 4 deletions

View File

@ -27,7 +27,6 @@ ifneq ($(strip $(HOST_UNPACK)),)
define Host/Prepare/Default define Host/Prepare/Default
$(HOST_UNPACK) $(HOST_UNPACK)
$(Host/Patch) $(Host/Patch)
$(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used)
endef endef
endif endif

View File

@ -39,7 +39,6 @@ ifneq ($(strip $(PKG_UNPACK)),)
define Build/Prepare/Default define Build/Prepare/Default
$(PKG_UNPACK) $(PKG_UNPACK)
$(Build/Patch) $(Build/Patch)
$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
endef endef
endif endif

View File

@ -79,11 +79,13 @@ endif
define Host/Patch/Default define Host/Patch/Default
$(if $(QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches) $(if $(QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches)
$(call PatchDir,$(HOST_BUILD_DIR),$(PATCH_DIR),) $(call PatchDir,$(HOST_BUILD_DIR),$(PATCH_DIR),)
$(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used)
endef endef
define Build/Patch/Default define Build/Patch/Default
$(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches) $(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches)
$(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR),) $(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR),)
$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
endef endef
kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.)

View File

@ -35,7 +35,6 @@ define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/ $(CP) ./src/* $(PKG_BUILD_DIR)/
$(Build/Patch) $(Build/Patch)
$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
endef endef
define Build/Compile define Build/Compile

View File

@ -410,7 +410,6 @@ define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
$(PKG_UNPACK) $(PKG_UNPACK)
$(Build/Patch) $(Build/Patch)
$(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used)
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW) unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT61FW)
unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW) unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT71FW)
-unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2860FW) -unzip -jod $(PKG_BUILD_DIR) $(DL_DIR)/$(RT2860FW)