Whamcloud - gitweb
Add the xattr files to the list of dependencies.
authoradilger <adilger>
Thu, 23 May 2002 23:18:01 +0000 (23:18 +0000)
committeradilger <adilger>
Thu, 23 May 2002 23:18:01 +0000 (23:18 +0000)
Add a comment that the export patch can fail (this happens if the kernel
source has already been patched to export ext3_bread()).

lustre/extN/Makefile.am

index d3ceadd..a14948d 100644 (file)
@@ -55,12 +55,13 @@ patch-stamp: $(EXTNP)
                list='$(EXTNP)'; for p in $$list; do                        \
                sed $(SUB) $(srcdir)/$$p | (cd $(top_srcdir); patch -p1);   \
                done;  \
+               echo "It is OK if the following patch fails";               \
+               (cd $(top_srcdir); patch -N -p1) < $(srcdir)/extN-2.4.18-exports.diff; \
                (cd $(top_srcdir); patch -p1) < $(srcdir)/extN-2.4.18-ino_sb_fixup.diff; \
-               (cd $(top_srcdir); patch -p1) < $(srcdir)/extN-2.4.18-exports.diff; \
        fi
        echo timestamp > patch-stamp
 
-$(EXTNC) $(EXTNI): patch-stamp
+$(EXTNC) $(EXTNI) $(EXTN_EXTRA): patch-stamp
 
 # Don't distribute any patched files.
 dist-hook:
@@ -69,3 +70,4 @@ dist-hook:
        list='$(EXTNI)'; for i in $$list; do                                  \
                rm -f $(distdir)/../include/linux/$$i;                        \
        done
+       list='$(EXTN_EXTRA)'; for f in $$list; do rm -f $(distdir)/../$$f; done