X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fldiskfs%2FMakefile.in;h=71d312da5ea0980555211972eb98e05d968ce15d;hb=4ce25c906d0d9afe8ff6bdce54e48facedeb6c05;hp=9f9e5154107bac4e5a93712d7bc565bccc9bc9f3;hpb=eace6f7fc7147fd614bb1cd4c6d435caa07460e3;p=fs%2Flustre-release.git diff --git a/ldiskfs/ldiskfs/Makefile.in b/ldiskfs/ldiskfs/Makefile.in index 9f9e515..71d312d 100644 --- a/ldiskfs/ldiskfs/Makefile.in +++ b/ldiskfs/ldiskfs/Makefile.in @@ -3,15 +3,23 @@ default: all MODULES := ldiskfs # copy makefile over to not break patches -ext3_extra := $(wildcard @LINUX@/fs/ext3/Makefile) +backfs_extra := $(wildcard @LINUX@/fs/@BACKFS@/Makefile) -ext3_headers := $(wildcard @LINUX@/fs/ext3/*.h) -linux_headers := $(wildcard @LINUX@/include/linux/ext3*.h) +backfs_headers := $(wildcard @LINUX@/fs/@BACKFS@/*.h) +linux_headers := $(wildcard @LINUX@/include/linux/@BACKFS@*.h) -ext3_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/ext3/*.c)) -new_sources := iopen.c iopen.h extents.c mballoc.c -new_headers := ext3_extents.h -ldiskfs_patched_sources := $(notdir $(ext3_sources) $(ext3_headers)) $(new_sources) $(new_headers) +backfs_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/@BACKFS@/*.c)) + +ext3_new_sources := iopen.c iopen.h extents.c mballoc.c group.h dynlocks.c fiemap.h +ext3_new_headers := ext3_extents.h + +ext4_new_sources := iopen.c iopen.h dynlocks.c fiemap.h +ext4_new_headers := + +new_sources := $(@BACKFS@_new_sources) +new_headers := $(@BACKFS@_new_headers) + +ldiskfs_patched_sources := $(notdir $(backfs_sources) $(backfs_headers)) $(new_sources) $(new_headers) ldiskfs_sources := $(ldiskfs_patched_sources) ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))