revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need

SVN-Revision: 6942
This commit is contained in:
Felix Fietkau
2007-04-12 19:18:38 +00:00
parent f3f941db39
commit 3e91dd1bd5
7 changed files with 12 additions and 20 deletions

View File

@@ -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 | xargs rm -rf
find $(IB_BUILD_DIR) -name CVS | xargs rm -rf
(cd $(BUILD_DIR); \
tar cfj $@ $(IB_NAME); \
)

View File

@@ -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 | xargs -r rm -rf
find $(SDK_BUILD_DIR) -name CVS | xargs -r rm -rf
(cd $(BUILD_DIR); \
tar cfj $@ $(SDK_NAME); \
)