From: Mike Baker Date: Tue, 3 Apr 2007 13:59:07 +0000 (+0000) Subject: more [6849] X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=3e6086170b8c3469502103ea593a3d9fcf38fd12;hp=b942017cb2730063260eff50ba4f1ad510a9e6f3 more [6849] SVN-Revision: 6850 --- diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 3d830bbc2d..d96a27674b 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -33,8 +33,8 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean $(CP) $(TOPDIR)/target/linux/* $(IB_BUILD_DIR)/target/linux rm -rf $(IB_BUILD_DIR)/target/linux/*/patches -cp $(BUILD_DIR)/linux-$(KERNEL)-$(BOARD)/* $(IB_BUILD_DIR)/build_$(ARCH)/linux-$(KERNEL)-$(BOARD) # don't copy subdirectories here - find $(IB_BUILD_DIR) -name .svn -exec rm -rf {} \; - find $(IB_BUILD_DIR) -name CVS -exec rm -rf {} \; + find $(IB_BUILD_DIR) -name .svn -exec rm -rf {} + + find $(IB_BUILD_DIR) -name CVS -exec rm -rf {} + (cd $(BUILD_DIR); \ tar cfj $@ $(IB_NAME); \ ) diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 3cae4b3842..c0fc027cb4 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -35,8 +35,8 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean $(CP) ./files/package/rules.mk $(SDK_BUILD_DIR)/package/ echo OPENWRTVERSION:=$(OPENWRTVERSION) > $(SDK_BUILD_DIR)/.version.mk rm -rf $(SDK_BUILD_DIR)/staging_dir*/ccache - find $(SDK_BUILD_DIR) -name .svn -exec rm -rf {} \; - find $(SDK_BUILD_DIR) -name CVS -exec rm -rf {} \; + find $(SDK_BUILD_DIR) -name .svn -exec rm -rf {} + + find $(SDK_BUILD_DIR) -name CVS -exec rm -rf {} + (cd $(BUILD_DIR); \ tar cfj $@ $(SDK_NAME); \ )