X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=ldiskfs%2Fldiskfs%2FMakefile.in;h=7f369b2869ce739b586c8eae7e3ae4f571d3f8ad;hp=eeb1bed045a9dee8e8712db3a51e9ccc36240903;hb=2caf7d57dcb0be3f1be07676e40f569397321616;hpb=1539f9cf732629a4703704f0f44f9667cad5cb3b diff --git a/ldiskfs/ldiskfs/Makefile.in b/ldiskfs/ldiskfs/Makefile.in index eeb1bed..7f369b2 100644 --- a/ldiskfs/ldiskfs/Makefile.in +++ b/ldiskfs/ldiskfs/Makefile.in @@ -3,19 +3,27 @@ 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 fiemap.h +ext3_new_headers := ext3_extents.h + +ext4_new_sources := iopen.c iopen.h 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)) -EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LUSTRE@ -I@LUSTRE@/ldiskfs +EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LDISKFSDIR@ @INCLUDE_RULES@