summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/imagebuilder
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 13:42:33 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 13:42:33 +0000
commit192312d978b59b0c74b34d3b6a115ff1453c6159 (patch)
treef89c09bfc27a1c71cecac4975f049b85e566c7dc /openwrt/target/linux/imagebuilder
parentf83f6b641dd97ef5fa348696972a8a631a1da99a (diff)
Remove svn and cvs directories at creation time, fixes #421
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3521 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/imagebuilder')
-rw-r--r--openwrt/target/linux/imagebuilder/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/linux/imagebuilder/Makefile b/openwrt/target/linux/imagebuilder/Makefile
index 8ed7a5cc02..4afb4d45a7 100644
--- a/openwrt/target/linux/imagebuilder/Makefile
+++ b/openwrt/target/linux/imagebuilder/Makefile
@@ -45,4 +45,5 @@ build:
if [ -d ./files.$(LIST) ]; then \
$(CP) --remove-destination ./files.$(LIST)/* $(LINUX_BUILD_DIR)/root; \
fi
+ find $(LINUX_BUILD_DIR)/root -name '.svn' || 'CVS' | xargs rm -rf
$(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install