Whamcloud - gitweb
* Compiles after merging b1_4
[fs/lustre-release.git] / lustre / ldiskfs / autoMakefile.am
index 4f9e784..53ca41e 100644 (file)
@@ -41,10 +41,12 @@ if USE_QUILT
        cd linux-stage && quilt setup -l ../$(series) -d ../$(patches)
        cd linux-stage && quilt push -a -q
 else
+       @echo -n "Applying ext3 patches:"
        @cd linux-stage && for i in $$(<../$(series)) ; do \
-               echo "patch -p1 < ../$(patches)/$$i" ; \
-               patch -p1 < ../$(patches)/$$i || exit 1 ; \
+               echo -n " $$i" ; \
+               patch -s -p1 < ../$(patches)/$$i || exit 1 ; \
        done
+       @echo
 endif
        mkdir linux
        @echo -n "Replacing 'ext3' with 'ldiskfs':"
@@ -70,7 +72,7 @@ foo-check:
        @echo "ldiskfs_OBJECTS: $(ldiskfs_OBJECTS)"
        @echo "ldiskfs_LDADD: $(ldiskfs_LDADD)"
 
-MOSTLYCLEANFILES = *.o *.ko *.mod.c
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ 
 CLEANFILES = sources $(notdir $(linux_headers) $(ext3_headers) $(ext3_sources) $(new_sources) $(new_headers))
 
 EXTRA_DIST := lustre_quota_fmt.c lustre_quota_fmt.h quotafmt_test.c