diff options
-rw-r--r-- | package/rules.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/rules.mk b/package/rules.mk index d436df8dc..50f03effa 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -154,6 +154,8 @@ define BuildPackage $$(IPKG_$(1)): $$(IDIR_$(1))/CONTROL/control $(PKG_BUILD_DIR)/.built $(call Package/$(1)/install,$$(IDIR_$(1))) mkdir -p $(PACKAGE_DIR) + find $$(IDIR_$(1)) -name CVS | xargs rm -rf + find $$(IDIR_$(1)) -name .svn | xargs rm -rf $(RSTRIP) $$(IDIR_$(1)) $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR) |