summaryrefslogtreecommitdiffstats
path: root/target
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
commitbdce530f1a5418cbad3b7c8abfcd5d7f2864d530 (patch)
tree69fa0408110b75e060188a07fe32be4ee50a1694 /target
parent6c65a51fbcc883f60703dcc2c7e64bf08cb42c6b (diff)
Remove svn and cvs directories at creation time, fixes #421
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3521 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/imagebuilder/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/imagebuilder/Makefile b/target/linux/imagebuilder/Makefile
index 8ed7a5cc0..4afb4d45a 100644
--- a/target/linux/imagebuilder/Makefile
+++ b/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