aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-02 16:09:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-02 16:09:15 +0000
commit6cd84c68386d614b4838346b8b16f0431bd07e3e (patch)
tree658bde36cb97d078f983ececc1bba6953fb84eeb /target
parent423af6adca85911671066465f68402da4f933622 (diff)
downloadupstream-6cd84c68386d614b4838346b8b16f0431bd07e3e.tar.gz
upstream-6cd84c68386d614b4838346b8b16f0431bd07e3e.tar.bz2
upstream-6cd84c68386d614b4838346b8b16f0431bd07e3e.zip
Use find -exec instead of xargs
SVN-Revision: 6837
Diffstat (limited to 'target')
-rw-r--r--target/imagebuilder/Makefile4
-rw-r--r--target/sdk/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 0cbbfa2835..3d830bbc2d 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 | xargs rm -rf
- find $(IB_BUILD_DIR) -name CVS | xargs 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 d65b934c95..3cae4b3842 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 | xargs rm -rf
- find $(SDK_BUILD_DIR) -name CVS | xargs 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); \
)