summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-03-10 20:47:55 +0200
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-03-10 20:47:55 +0200
commit5a205f864f73ce2b7922b9fbf567eca46ebe1a53 (patch)
tree2bea0c0b42afb77e6852a8e0bc95d70ef47b4277
parentd58e6180f7c560aa2cd4a0e4466d24f282d7c208 (diff)
gen-patch: get rid of generated .mod.c files
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a36f5f3..48e540a 100644
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,7 @@ gen-patch:
mkdir -p $(SVN_DIR_DST)/$$dir; \
cp $$dir/*.[ch] $$dir/Kbuild $(SVN_DIR_DST)/$$dir/ ; \
done
+ find $(SVN_DIR_DST) -name \*.mod.c -exec rm -f '{}' \;
# Preserve base Kbuild:
for file in $(OVERRIDE_FILES); do \
cp $(SVN_DIR_SRC)/$(BASE_DIR)/$$file $(SVN_DIR_DST)/$(BASE_DIR)/; \